Hi all,
I've added support for localised resx compilation for the .net compiler tasks. The following build snippet:
<csc output ="foobar.exe">
...
<resources>
<includes name="*.resx" />
<includes name="*.fr.resx" />
<includes name="*.en-AU.resx" />
<includes name="*.fr-BE.resx" />
<includes name="*.ja.resx" />
</resources>
</csc>


will create corresponding child folders ( fr, fr-BE, en-AU etc ) under the directory containing foobar.exe and compile a localised satellite assembly into each one. The localised dlls will be named foobar.resources.dll.

I would really appreciate it if anyone building real world localised projects with nant could grab a nightly build and try this out. I'll be adding some NUnit tests shortly.

There is a nice article on O'Reilly about creating localised satellite assemblies at http://www.ondotnet.com/pub/a/dotnet/2002/10/14/local2.htm?page=1

Ian






------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to