Bugs item #2972046, was opened at 2010-03-17 16:23 Message generated for change (Comment added) made by dragolo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2972046&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: 0.86 Status: Open Resolution: None Priority: 5 Private: No Submitted By: dr.AgOlO (dragolo) Assigned to: Nobody/Anonymous (nobody) Summary: Localized resource (sr-SP-Latn) is not supported Initial Comment: Hi, I have problem regarding localized resources. I have solution, with several projects, written in c#.net 1.1. One of the projects has resources in two languages, first en-US (resource name is Presentation.en-US.resx) and second is in Serbian latin (resorce name Presentation.sr-SP-Latn.resx). The problem appears when project compilation is done when only folder that contains dll resource for en-US language is made. This is strange because when the same thing (project build) is done in VS.net 2003 in the bin\Release I have folders for each resource language. I think that problem is in culture name sr-SP-Latn that existed in .net framework 1.1 and 2.0 but is changed in .net framework version 3.0 to sr-Latn-CS. I simply cannot change name of resource file (Presentation.sr-SP-Latn.resx) in my project becase I use thread culture name, from CultureInfo class, that must be sr-SP-Latn otherwise exception is thrown. I have tried to build described project using NAnt 0.85 and NAnt 0.86 beta 1 versions. Thanks in advance. ---------------------------------------------------------------------- Comment By: dr.AgOlO (dragolo) Date: 2010-03-18 08:43 Message: Yes, this was the problem. I have used first suggested workaround and problem is now solved. Thank you very much. ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2010-03-17 18:45 Message: NAnt is probably running on a CLR with this update: http://support.microsoft.com/kb/939949 As a result, the resource file containing "'sr-SP-Latn" is not recognized as a localized resource. There are two workarounds: 1) Force NAnt to use the 1.1 (or 1.0) CLR. This can be done by removing the following line from NAnt.exe.config: <supportedRuntime version="v2.0.50727" /> 2) We can provide a workaround out-of-the-box, but you'll have to compile NAnt targeting .NET 2.0 or wait until we release a version that is compiled for the .NET 2.0 CLR.. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2972046&group_id=31650 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers