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.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to