Hi,

I'm trying out the solution task for the first time and am experiencing a
couple of problems. I'm using Nant 0.8.3 final.

The project structure comes out of CVS like this:

Project\
  Solution.sln
  Project1.csproj
  bin\
    debug\
  
  Tests\
  Tests.csproj
    bin\
      debug\

The result of the build should be:

Project\bin\debug\project1.dll
Project\Tests\bin\debug\project1.dll
Project\Tests\bin\debug\Tests.dll

Unfortunately when I try and build this solution I get an Internal Error:

----------------------------------------------------------------------

INTERNAL ERROR

System.Exception: Unable to find appropriate configuration for project
reference

   at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList
alCSC
Arguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands)
   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.Tasks.CallTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Tasks.CallTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.TaskContainer.ExecuteChildTasks()
   at NAnt.Core.Tasks.IfTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Tasks.CallTask.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]

----------------------------------------------------------------------

I've tried excluding the Tests project and that doesn't seem to help. Anyone
got any ideas? I don't have time to go code digging right now...

thanks,

Simon

-- 
Simon Steele
Research Engineer - Softel Ltd.
tel: +44 118 984 2151 / web: http://www.softel.co.uk/


________________________________________________________________________
This e-mail has been scanned for viruses by MessageLabs.

<<application/ms-tnef>>

Reply via email to