Bugs item #1187374, was opened at 2005-04-21 15:45 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187374&group_id=31650
>Category: Third party libraries Group: 0.85 >Status: Closed Resolution: None Priority: 5 Submitted By: tkocian (tkocian) >Assigned to: Gert Driesen (drieseng) Summary: Invalid ResX input Initial Comment: During building I got the following error message: [solution] Building 'RSM.Cash.Common' [Debug] ... [resgen] error: Invalid ResX input. [resgen] error: Specific exception: XmlException Message: Invalid ResX input. ---> XmlException: There is no Unicode byte order mark. Cannot switch to Unicode. [resgen] 2 error(s). BUILD FAILED - 0 non-fatal error(s), 4 warning(s) External Program Failed: C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\resgen.exe (return code was -1163019603) Is there a workaround for it? I'm using version 0.85 rc3. Thanks for your help Tomas ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2005-05-05 18:20 Message: Logged In: YES user_id=707851 There seems to be a change in behaviour between resgen (which is part of the .NET Framework SDK, and which is what NAnt uses to compile resources) and VS.NET 2003. Your resx file is in fact a UTF-8 encoded file, but with encoding attribute of the XML processing instruction set to "UTF-16". VS.NET 2003 seems to have no problems with this, but resgen (in both .NET 1.1 and .NET 2.0) and VS.NET 2005 (where the internal build system, msbuild, also uses resgen) does. I'd advise you to just change the value of the encoding attribute from "utf-16" to "utf-8". Was this resx file created by VS.NET or did you create it manually ? I'm closing this bug report, as this is definitely not a bug in NAnt. Feel free to report it to MS using the MSDN Product Feedback Center (as it affects not just NAnt but also VS.NET 2005). ---------------------------------------------------------------------- Comment By: tkocian (tkocian) Date: 2005-05-05 17:52 Message: Logged In: YES user_id=1263817 Sorry, I'm not a developer but I tried to prepare a small solution for you. ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2005-05-03 17:21 Message: Logged In: YES user_id=707851 Can you send me a small repro for this issue ? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1187374&group_id=31650 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers