Bugs item #1190785, was opened at 2005-04-27 08:05 Message generated for change (Comment added) made by drieseng 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: Gert Driesen (drieseng) Date: 2005-05-03 17: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 08: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 [email protected] https://lists.sourceforge.net/lists/listinfo/nant-developers
