Bugs item #1077254, was opened at 2004-12-02 03:09 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1077254&group_id=31650
>Category: Documentation Group: 0.85 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Shawn A. Van Ness (arithex) >Assigned to: Gert Driesen (drieseng) Summary: solution task: resx files need to be considered carefully... Initial Comment: 0.85rc1, <solution> task, C# winforms app solution task: resx files need to be considered carefully when building down-level! ResX files created with VS2003 are chock full of references to v1.1 CLR types. (In the case of bitmaps, icons, etc, these type-references are embedded in base64 blocks!) If these references don't get scrubbed back to v1.0, apps built downlevel (eg: with -t:net-1.0) will experience a variety of ugly crashes when run on machines with v1.0 CLR only. Check out the "vsconvert" tool on codeproject.com for a description of how resx files should be handled... http://www.codeproject.com/macro/vsconvert.asp Repro steps: - start VS2003, create new winforms project - Form1 properties: set Localizable=true, in order to generate dependency on resx file, and emit calls to ResourceManager, etc. - compile (w/ VS), run, it's all good - now, rebuild w/ NAnt, targetting v1.0 framework (- t:net-1.0). - test on a clean-box w/ v1.0 fx only (no v1.1, no whidbey, etc)... kaboom! (Failure usually shows up as an InvalidCastException, in one of the ResourceManager.Get* calls.) ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2004-12-06 21:10 Message: Logged In: YES user_id=707851 This is now documented in the task doc of the <solution> task. Thanks for reporting this ! ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2004-12-02 07:13 Message: Logged In: YES user_id=707851 Shawn, I don't think this is something that we should support, but we should definitely make it clear to users by adding a note to the task docs for the solution task. Can you provide a small fragment that we can add to the docs ? Thanks ! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1077254&group_id=31650 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers