Hi, I'm new to NAnt so this may be something I'm doing wrong or it may be a bug.  I get the following error when I try to build ...
 
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
 
Buildfile: file:///D:/My Documents/Visual Studio Projects/BuildDemo/demo.build
 
build:
 
 [solution] Starting solution build.
 [solution] Building Build.Core [debug]...
 [solution] Building Build.Demo [debug]...
 [solution] Building Build.Tests [debug]...
Total time: 0 seconds.
 
BUILD FAILED
 
INTERNAL ERROR
 
System.ComponentModel.Win32Exception: The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at NAnt.VSNet.Tasks.Project.Compile(String strConfiguration, ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
 
Please send bug report to [EMAIL PROTECTED].
 
My build file looks like this ...
 
<?xml version="1.0"?>
<project name="BuildDemo" default="test">
 
 <!-- compile -->
 <target name="build" description="compiles the source code">
  <solution solutionfile="BuildDemo.sln" configuration="debug"/>
 </target>
 
 <!-- run the unit tests -->
 <target name="test" depends="build">
  <nunit2>
   <test assemblyname=".\Build.Tests\bin\Debug\Build.Tests.dll" />
  </nunit2>
 </target>
</project>
 
the solution is visual studio 2003.  do I have to do something different for 2003 and the 1.1 framework?
 
thanks for the help
~ Paul
 

Reply via email to