Here is a simple script. Basically I am trying to compile a solution(has only one Console project)
 
<?xml version="1.0"?>
<project name="somename" default="compile">
 <target name="compile">
  <solution solutionfile="C:\temporaryworkspace\Solution1\Solution1.sln" configuration="release">
  </solution>
 </target>
</project>
 
 
and get following error-
 
 [solution] Starting solution build.
 [solution] Building ConsoleApplication1 [release]...
 
BUILD FAILED
 
INTERNAL ERROR
 
System.ComponentModel.Win32Exception: The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startIn
fo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at NAnt.VSNet.Project.Compile(String configuration, ArrayList alCSCArguments,
 String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArgume
nts, String logFile, Boolean verbose, Boolean showCommands)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()
 
Please send bug report to [EMAIL PROTECTED].
 
Total time: 1 seconds.
Any help would be greatly appreciated.
 
Thanks

Reply via email to