I have a web service which supplies me with a generated .resx (XML only) which I then convert to binary a .resources
file. I am currently generating an assembly file with that using al.exe
. Here are my arguments:
/t:lib /c:{culture} /embed:"{.resource input}" /out:"{.dll output}"
Loading this assembly in via Assembly.LoadFrom(file)
works fine, but I believe that my assembly is not properly generated. It has no type, namespace, or methods to invoke and therefor no ResourceManager
apparently.
Essentially I am just wondering if it is at all possible to generate, load, and utilize resources that have no class or namespace which my project knows about at compile time. Thanks.