« webinfo files simplify locating ASP.NET projects with Visual Studio .NET | Main | Automating web site management, NAnt, WebDav, Windows 2003 Server VPN »

NAnt 0.84 installation and initial test problems, 2004-03-01 17:39:26 Monday

To change the default .NET framework to 1.1 instead of 1.0, edit the NAnt.exe.config file found in the bin folder and change <platform name="win32" default="net-1.0"> to <platform name="win32" default="net-1.1">.

The test at line 221 of tests\NAnt.Console.NAntTest.cs fails because the copyright year hasn’t been bumped up to 2004 yet. Comment it out for now.

The C++ tests fail because vsvars32.bat wasn’t automatically configured and the cl task fails.

I followed this registry tweak to automatically run vsvars32.bat whenever cmd.exe is run.

 

 

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)