Yes, I believe you should. I think Nant will target whatever version of the FW it is running under for builds. And, I believe it runs on the newest version of the FW that is found.

 

But, I could be wrong, perhaps Gert or Gery will chime in an correct me. This is actually a topic that I think needs to be expanded in the doc. Perhaps in the Running Nant topic.

 

BOb

 

 


From: Mark Modrall [mailto:MModrall@glgroup.com]
Sent: Tuesday, January 23, 2007 5:25 PM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Error "SDK for the net-x.x framework is notavailableor not configured"

 

Sigh…  Edict from the guy who runs the ops build system.  I’m going to see if we can use MSBEE in dev anyway.

 

By the by, if I download the 1.1 sdk (still  a half hour to go), should I use –t:net-1.1 on nant as well?  Seems like unless I do, nant wouldn’t be looking in the right place.

 

Thanks

-Mark

 

 

 

This e-mail message, and any attachments, is intended only for the use of the individual or entity identified in the alias address of this message and may contain information that is confidential, privileged and subject to legal restrictions and penalties regarding its unauthorized disclosure and use. Any unauthorized review, copying, disclosure, use or distribution is strictly prohibited. If you have received this e-mail message in error, please notify the sender immediately by reply e-mail and delete this message, and any attachments, from your system. Thank you.


From: Bob Archer [mailto:Bob.Archer@amsi.com]
Sent: Tuesday, January 23, 2007 5:22 PM
To: Mark Modrall; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Error "SDK for the net-x.x framework is notavailableor not configured"

 

Then it sounds like you only need to install the 1.1 sdk.

 

Although I don’t understand why you can’t use MSBEE? That would allow a single source project to be used to target both frameworks.

 

BOb

 

 


From: nant-users-bounces@lists.sourceforge.net [mailto:nant-users-bounces@lists.sourceforge.net] On Behalf Of Mark Modrall
Sent: Tuesday, January 23, 2007 5:15 PM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Error "SDK for the net-x.x framework is notavailableor not configured"

 

Our integration build machine has no version of studio on it; only the 1.1 and 2.0 redistribs.  As I said, msbuild.exe seems to obviate whatever other tools in the SDK that nant’s looking for…

 

Thanks

-Mark

 

 

 

This e-mail message, and any attachments, is intended only for the use of the individual or entity identified in the alias address of this message and may contain information that is confidential, privileged and subject to legal restrictions and penalties regarding its unauthorized disclosure and use. Any unauthorized review, copying, disclosure, use or distribution is strictly prohibited. If you have received this e-mail message in error, please notify the sender immediately by reply e-mail and delete this message, and any attachments, from your system. Thank you.


From: Bob Archer [mailto:Bob.Archer@amsi.com]
Sent: Tuesday, January 23, 2007 5:03 PM
To: Mark Modrall; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Error "SDK for the net-x.x framework is not availableor not configured"

 

You should have the SDK for each fw version on the build machine. If you have Studio that actually includes the SDK’s.

 

 


From: nant-users-bounces@lists.sourceforge.net [mailto:nant-users-bounces@lists.sourceforge.net] On Behalf Of Mark Modrall
Sent: Tuesday, January 23, 2007 4:58 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Error "SDK for the net-x.x framework is not availableor not configured"

 

Hi…

 

            Found a couple of threads where this was discussed obliquely and now I’m tripping over it.

 

            I’ve got a program that needs to be built in both Framework 1.1 and 2.0 (and we’ve been told they don’t want us to use MSBEE), so I have 1.1 and 2.0 versions of the projects.  To build the 1.1 project I use <solution>, to build the VS 2005/2.0 project, I exec to msbuild.

 

            For the most part that seems to work fine, but we’ve got just one class that’s messing things up.  This class derives from DataSet so becomes a Component by inheritance.  So it gets a .resx file.

 

            On my nant machine I haven’t installed the SDKs frameworks for either (I guess msbuild comes with the 2.0 redistrib).  The <exec> to msbuild completes building the whole ball of wax.  The <solution> build on the 1.1 project, though craps out on the DataSet class, presumably trying to call some resource compiler.

 

            Running nant straight, it appears to be using the 2.0 framework and I get

SDK for the net-2.0 framework is not available or not configured

 

            If I run nant –t:net-1.1, I get

SDK for the net-1.1 framework is not available or not configured

 

            Seems to me that using 2.0 resx utilities to build a 1.1 assembly may not be the best thing, though I don’t really know what would happen.  Is there any other nant functionality I’d be missing using –t:net-1.1, though?

 

            I can go download the sdk for 1.1 and run it that way, but I thought I’d toss the question out to a community that would know better than I what all the ramifications are.

 

Thanks

-Mark

 

 

This e-mail message, and any attachments, is intended only for the use of the individual or entity identified in the alias address of this message and may contain information that is confidential, privileged and subject to legal restrictions and penalties regarding its unauthorized disclosure and use. Any unauthorized review, copying, disclosure, use or distribution is strictly prohibited. If you have received this e-mail message in error, please notify the sender immediately by reply e-mail and delete this message, and any attachments, from your system. Thank you.