Hi, I have a solution with multiple projects on it, when I tried to compile the solution using the <solution> tag I always get an error (specified below), but If (after it fails) I compile the project wich fails in VS (VS2003) and then I run Nant again so it compiles the one who fails before without errors and then fails on the next one(or after two or three) with the same error.

Everything seems to compile without problems on VS so I don’t understand what’s wrong.

 

Compilesolution.build file looks like this:

 

<?xml version="1.0"?>

<project name="BuildTest" default="">

    <!-- kompiler kode -->

    <solution solutionfile="C:\vssEnhetsTest\Source\Enhetstester\Enhetstester.sln" configuration="debug" />

 </project>

 

And this is what I get when I run it from the command prompt:

 

 

C:\VSS\Work\Build>nant -buildfile:compilesolution.build

 

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:/VSS/Work/Build/compilesolution.build

 [solution] Starting solution build.

 [solution] Building Medina [debug]...

 [solution] Building Felles [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.Project.InitializeProjectDocument(XmlDocument doc)

   at NAnt.Core.Project.Execute()

   at NAnt.Core.Project.Run()

 

Please send bug report to [EMAIL PROTECTED]

 

Total time: 1.6 seconds.

 

 

Thanks

______________________________
Fernando Moreno Oviedo
WM-data AS
Strømsveien 102
Postboks 6432, Etterstad
0605 OSLO
Tel:  22 57 70 00
Mobil  414 54 854
Faks: 22 57 70 70
e-post: feovi@wmdata.no
www.wmdata.no

Syncronos har fusjonert med WM-data fra 1. januar 2006. Merk ny kontaktinformasjon som telefon- og telefaksnummer samt postadresse.

Reply via email to