I was asked to report this to your address...  Using nant 0.8.3.  I have a
nant task within my nant script, but it looks like the <solution> task tries
to use the first task's currentDirectory (e:/src/buildrobot/) instead of the
nant task's directory (e:/src/buildrobot/builds/razorrobot/4/).
Specifically, line 45 of src/Nant.VSNET/Solution.cs should probably call
System.IO.Path.Combine with the project's basedir and strSolutionFilename,
although you probably already know this..

Anyway, here's the output I got.  I'm able to get around the problem by
launching nant with <exec /> and pointing workingdir to the appropriate

     [nant] ./builds/RazorRobot/4/RazorRobot.build



             [solution] Starting solution build.
            Total time: 0 seconds.

            BUILD FAILED

            INTERNAL ERROR

            System.IO.FileNotFoundException: Could not find file
File name: "E:\src\BuildRobot\razorrobot.sln"
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boole
an useAsync, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean
detectEncodingFromByteOrderMarks, Int32 buffe
   at System.IO.StreamReader..ctor(String path)
   at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, ArrayList
alAdditionalProjects, ArrayList alReferenceP
rojects, TempFileCollection tfc, Task nanttask)
   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]

PS:  Keep up the good work.  Open source rocks!

Olivier Dagenais
Software Engineering / Génie logiciel
Formark Consulting Ltd.
(613) 599-5173 x238

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-developers mailing list

Reply via email to