Most of the threads I read about this question answer that you just need to access them as follows:
<MyProjectNamespace>.Properties.Resources.<MyResourceName>
But during the build process, I have this message:
<MyProjectNamespace> does not contain a definition for 'Properties'
It seems that the Properties class is usually autogenerated by the IDE when adding resources to your project.
The thing is, I'm working on Eclipse and I really don't know how to add resources, but I managed to create a .resx file from Visual Studio (which I use to create my Windows form), which I added to the Nant.build file as "resource" along with my bitmap images. Then it really inserts the resources, but I cannot access them ...
So, how can I embed resources in my application (usually) and access them using Eclipse + Emonic + Nant to create it?
Thanks,
Paul.
source share