----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 28, 2004 12:54 AM Subject: [Nant-users] Embedded XML resources and the <csc> task
> My NAnt builds have been broken for some time because my <csc> task was generating the wrong name for an embedded .XML resources file. > However, I noticed that some flexibility was added to NAnt in 0.8.4, so I've upgraded NAnt and I'm now trying to use the dynamicprefix= > attribute on the <resources> tag of <csc>, but to no avail. > > Without dynamicprefix=, NAnt builds the .resources file name as: <Namespace>.<ResxFilename>.resources, which doesn't match VS.NET's > behaviour. So, I added dynamicprefix="true" and a prefix= attribute. Now I have no idea what NAnt is doing. Now the .resources file name > seems to be: <nameOfFirstClassFromCorrespondingC#File>.resources. No, I'm not kidding: the name in the assembly is > Agama.AgamaLibrary.CommandLineArgumentParser.resources, and the only thing called "CommandLineArgumentParser" in my code base is an abstract > base class. Is it using that manifest resource name for the ArgumentParser.resx resource ?? Can you package up a zip file containing the minimum set of files necessary to reproduce this issue ? Thanks, Gert ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users