Hello NAnt Developers, I keep getting an Internal Error when using the following
build file after a “clean” has been run, then a subsequent “debug”
run. The build file: <project
name="ProjectPlugin" default="debug"
basedir="."> <target
name="debug" description="build in debug mode"> <solution
configuration="debug" solutionfile="ProjectPlugin.sln"/> </target> <target
name="release" description="build in release mode"> <solution
configuration="release"
solutionfile="ProjectPlugin.sln"/> </target> <target
name="clean" description="remove generate files"> <delete
file="./BusinessLayer/bin/Debug/Project.Business.dll"
failonerror="false"/> <delete
file="./BusinessLayer/bin/Debug/Project.Business.pdb"
failonerror="false"/> <delete
file="./GuiCommandLayer/bin/Debug/Project.GuiCommand.dll"
failonerror="false"/> <delete
file="./GuiCommandLayer/bin/Debug/Project.GuiCommand.pdb"
failonerror="false"/> <delete
file="./GuiLayer/bin/Debug/Project.Gui.dll"
failonerror="false"/> <delete
file="./GuiLayer/bin/Debug/Project.Gui.pdb"
failonerror="false"/> <delete
file="./TestHarness/bin/Debug/TestHarness.exe"
failonerror="false"/> <delete
file="./TestHarness/bin/Debug/TestHarness.pdb"
failonerror="false"/> </target> </project> Here is the output from the console: C:\NantTesting\ProjectPlugin>nant NAnt 0.84 (Build
0.84.1455.0; net-1.0.win32; release; 26/12/2003) Copyright (C)
2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile:
file:///C:/NantTesting/ProjectPlugin/ProjectPlugin.build Target(s)
specified: debug debug: [solution]
Starting solution build. [solution]
Building BusinessLayer [debug]...
[copy] Copying 1 file to C:\NantTesting\ProjectPlugin\BusinessL ayer\bin\Debug\. 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.3
seconds. I would be grateful for any tips on how to overcome this
problem. Thanks, __________________________________ Edward James Software Engineer High Integrity Solutions Ltd 7 Romsey Industrial Estate Romsey, Hampshire SO51 0HR Web site: www.highintegritysolutions.com IMPORTANT NOTICE:
Information contained in this correspondence is proprietary to High Integrity
Solutions, Ltd. (HIS). This information is intended only for the recipient.
By reading and retaining this correspondence, recipient agrees to hold the
information in confidence and shall not use the information for other than the
intent stated or implied in the correspondence. This information shall
not be copied or otherwise distributed to others without the express and prior
written permission of HIS. Unauthorized disclosure could cause
irrecoverable commercial harm to HIS. Transmission of this information is
in commercial confidence and does not provide a right to use to any
party. |