Hello everyone. I'm new to this, so please bear with me. I found what I believe to be a bug in NAnt, regarding compiling .resx files to .resources files. Specifically, if the .resx file is really a .resX file (ie, the case is not all lower), the output file will not be created as a .resources file, leading to all kinds of problems later on.
I fixed this error in my local copy by doing the following: in NAnt.DotNet\Tasks\CompilerBase.cs, line 549 (in GetManifestResourceName), I changed: // determine the resource type switch (Path.GetExtension(resourceFile)) { case ".resx": to: // determine the resource type switch (Path.GetExtension(resourceFile).ToLower()) { case ".resx": This worked for me -- NAnt built, tested, and ran just fine, and equally important, I could then compile solutions that had strange cases in the extensions of .resx files. I don't know the proper way to put this change forward to the NAnt team, so I'm just putting it here on the mailing list. If this is wrong, please accept my apologies, and let me know what I should do next. Thanks, Jeff Paulsen ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers