It is not possible right now to have multiple resources elements. I agree that it could be useful to be able to do that.
Ian
Is it possible to have multiple resources element... meaning
<resources prefix="A">
<includes name="*.resx"/>
</resources>
<resources prefix="B">
<includes name="*.dat"/>
</resources>
I have multiple folders that include the resources.. Its possible to embed like this using VS.NET proj.
Thanks,
Kishore
-----Original Message-----
*From:* Lorphelin, Yves [mailto:[EMAIL PROTECTED]]
*Sent:* Thursday, January 09, 2003 7:15 AM
*To:* [EMAIL PROTECTED]
*Subject:* RE: [Nant-users] Resx files not getting embedded
hi Nicholas ,
The <resources >... </resources > fileset takes care of the
conversion between .resx & .resources fle
You should write it like this
<resources>
<includes name="testResources.resx"/>
</resources>
If there is no associated class testResources.cs , you should
write it like this
<resources prefix="Your.namespace">
<includes name="testResources.resx"/>
</resources>
Where "your.namespace" is the default namespace for your project
Hope this help.
Yves
-----Original Message-----
From: Nicholas Robinson [mailto:[EMAIL PROTECTED]]
Sent: 09 January 2003 16:09
To: [EMAIL PROTECTED]
Subject: [Nant-users] Resx files not getting embedded
Hi,
I am trying to embed a resx resource during compilation, but when
I try to access the resource I cannot find it (usnig the Resource
Manager). If I build the same project within DevStudio it works. My NANT script section is below:
<target name="Build">
<resx input="testResources.resx"/> <csc target="library" output="${output}" debug="${debug}"
define="${define}" doc="${doc}">
<arg value="${unsafe}" />
<arg value="${checked}" />
<sources>
<includes name="${project.source.path}AssemblyInfo.cs" />
<includes
name="${project.source.path}ProjectReaderTestCases.cs" />
</sources>
<references>
<includes name="System.dll" />
<includes name="System.Data.dll" />
<includes name="System.Xml.dll" />
<includes name="${reference.path}/nunit.framework.dll"
/> </references> <resources>
<includes name="testResources.resources"/>
</resources>
</csc>
</target>
Can someone tell me what I am doing wrong? I am using the latest
Stable Release, 7.9.0.
Nick.
With Yahoo! Mail you can get a bigger mailbox -- choose a size
that fits your needs
------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users