Title: Help understanding resources

Hi,

I have just started using nant to do csc project builds. I have figured out how to get my projects to build with references/source, however I am struggling with resources.

Is there any documentation and examples for how to use the <resources> section? - The only thing I have found is the mention of resources in http://nant.sourceforge.net/help/tasks/csctask.html

I have tried things such as:

<resources basedir="src/AppLib">
                <includes name="img_aboutbox.gif" />
                <includes name="img_application_icon.gif" />
                <includes name="img_back16x16.gif" />
</resources>

However, When I run my application I get the exception:

System.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure Login.resources was correctly embedded or linked into assembly "AppLib".

Do I pass the .resx files to the resources tag?

Any help would be appreciated

Pete.

Reply via email to