Its fixed in cvs - or the next nightly build. We were using the string.Replace method so that in the rare case where your resources's filename was repeated again in the extension it would be replaced twice. so
jpg.jpg => prefix.jpg.prefix.jpg
Now we only replace the first occurance of the filename. thanks for the bug report. Ian
Hi - I have attached a small console program which illustrates the problem.
nantproblem.exe embeds an image called 'jpg.jpg', which when compiled in VS should appear as 'nantproblem.jpg.jpg' (run the program to get a printout to the screen.)
When compiled with nant the resource appears as: 'nantproblem.jpg.nantproblem.jpg'.
Regards Thomas Koch
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ian MacLean Sent: 23. september 2003 09:17 To: Thomas Michael Koch Cc: [EMAIL PROTECTED] Subject: Re: [Nant-users] Bug report and feature requests in NAnt v. 0.8.3
Thomas, Could you post a small sample demonstrating the problem. I see the 2nd entry is the incorrect one. Are those files .resx files ?
Ian
t* First of all, it seems there's a bug in the way a <references> fileset in the <csc> target is handled:
<resources basedir="${src.nunit}" prefix="Com.KapowTech.RoboSuite.Api.Nunit"> <includes name="dotnettest.robotlib" /> <includes name="lib.robotlib" /> </resources>
In the manifest this is transformed to:
.mresource public Com.KapowTech.RoboSuite.Api.Nunit.dotnettest.robotlib
{
}
.mresource public
Com.KapowTech.RoboSuite.Api.Nunit.lib.robotCom.KapowTech.RoboSuite.Api.Nuni
.lib { }
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users