I have a project that contains regular resources in
Properties\Resources.resx. Next to that, I have a folder named
Scripts containing files, marked as "Embedded Resource". When I do:
var resourceNames = Assembly.GetExecutingAssembly().GetManifestResourceNames();
I get a list of resources, containing both. What I would like to have is a list of "Scripts" resources only. I tried the following code, but
set always contains
null. Hope anybody can shed some light onto this.
var manager = new ResourceManager("<namespace>.Scripts", Assembly.GetExecutingAssembly()); var set = manager.GetResourceSet(CultureInfo.InvariantCulture, true, false);