I've seen posts asking this question, and I've always wondered, can't you just <exec> MSBuild.exe?
 
I don't have Visual Studio 2005 installed anywhere yet, or I'd try it myself. But I don't see much need to ever enhance NAnt to work with VS2005 solutions at all, since MSBuild (which is an XML driven make utility very similar to NAnt) already builds them just fine.
 
Perhaps I'm missing something.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Manfield
Sent: Friday, September 09, 2005 1:16 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] making nant work with .NET 2.0 and Visual Studio 2005 solution?

I have downloaded the latest version of nant.
 
The .NET version I have is 2.0.50215 and I am using Visual Studio 2005.
 
When I run nunit on my existing solution file (created with Visual Studio 2005), I get the following message:
 
nant
NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/sourceSafe/System/Master.root/Master/master.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: build

build:
 [solution] Starting solution build.
BUILD FAILED
Microsoft Visual Studio.NET 2005 solutions are not supported.
Total time: 0.5 seconds.
 
My master.build has just the following target:
 
       <target name="build" description="compiles the source code">
           <solution configuration="debug" solutionfile="Master.sln" />
       </target>
 
 
Questions; Why does nunit point to .NET 1.1? How do I make it point to my current .NET version? How do I make nunit work with with my Visual Studio 2005 solutions.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to