Bugs item #1190785, was opened at 2005-04-27 01:05 Message generated for change (Comment added) made by rblum You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1190785&group_id=31650
Category: Core Group: 0.85 Status: Open Resolution: None Priority: 5 Submitted By: Robert Blum (rblum) Assigned to: Gert Driesen (drieseng) Summary: .resx version problem Initial Comment: If you rebuild a nant-target while having Whidbey (current beta) installed, .resx files seem to get built in the Whidbey format - subsequent runs of the executable complain about .resx files being in version 2 instead of version 1. Any workarounds for this? (Last tested with 2005-04-20 nightly) ---------------------------------------------------------------------- >Comment By: Robert Blum (rblum) Date: 2005-05-03 23:34 Message: Logged In: YES user_id=25786 It's rather difficult - we've got quite a few sub projects, and a nice mix of languages. (About 25 projects, in managed C++, unmanaged C++ and C#) We havent (as of yet) been completely able to get a proper rebuild of the system going by exclusively relying on nant - some parts are command line built. That might've introduced the 1.1 assemblies. I'll try to give it some time as soon as we're past our current milestone - two weeks from here. ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2005-05-03 10:21 Message: Logged In: YES user_id=707851 NAnt 0.85 will always target the latest installed (and supported) version of the .NET Framework. To explicitly target a specific version of .NET in your build file, you can just set the nant.settings.currentframework property to the identifier of the framework that you want to target. eg. <property name="nant.settings.currentframework" value="net- 1.1" /> The strange thing about your report is that the assembly should in fact also be a .NET 2.0 assembly, so it should run just fine (on systems where Whidbey is installed). Can you verify this behaviour again, and if possible send me a repro (including prebuild binaries) ? ---------------------------------------------------------------------- Comment By: Robert Blum (rblum) Date: 2005-04-27 01:46 Message: Logged In: YES user_id=25786 Specifying the defaultframework on the commandline helps - however, other tasks still seem to use the 1.1 framework - only the resx building skips ahead and uses the latest, greatest, and shiniest. Any way to *force* the defaultframework to 1.1? I'd rather not have my users type endless command lines - "nant build" was a hard enough sell ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1190785&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