For some reason I can not get the solution task to work in NAnt. I have a simple build 
file which is listed below that builds a solution.  The Solution has one file, Foo.cs. 
  When I go to build NAnt beginds to copy 112 files to the build dir, and then dies 
because it cant find a file.  

Any suggestions? Why does it need to copy these files?

Thanks,
Nathan

Build File and output:

<?xml version="1.0"?>

<project name="NAntTest" default="build" basedir=".">
    <description>NAntTest build file.</description>        
    <target name="build" description="build files">
                <solution configuration="debug" 
                                  solutionfile="NAntTest.sln" 
                                  verbose="true">        
                </solution>
        </target>       
</project>

Here is the output:

build:

 [solution] Starting solution build.
 [solution] Building NAntTest [debug]...
                 [copy] Copying 112 files to C:\Documents and Settings\paris.nathan\My 
Documents\Visual Studio Projects\
NAntTest\bin\Debug\.

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.Project.Compile(String configuration, ArrayList alCSCArguments, 
String strLogFile, Boolean bVerbose, Bo
olean bShowCommands)
   at NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArguments, 
String logFile, Boolean verbose, Bo
olean showCommands)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.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]

Total time: 18.9 seconds.

Nathan Paris
Application Development
Level(3) Communications
This e-mail, and any subsequent e-mails relating to the topics discussed in this 
e-mail, contains Confidential and Proprietary Information




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to