Chris,
 
I'd highly recommend upgrading to a more recent version of NAnt(Contrib).  Lots of issues with the <solution> task have been fixed since.
 
Gert


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Hoffman
Sent: donderdag 3 maart 2005 18:56
To: nant-developers@lists.sourceforge.net
Subject: [nant-dev] (no subject)

HELP!

 

Im new to nAnt and am using a quick tutorial found on the following page;

http://joefield.mysite4now.com/blog/articles/146.aspx

 

Im using:

CruiseControl.NET 0.7

NAnt v0.84

NAntContrib v0.84

NUnit 2.2

 

 

All goes well until I actually try to compile a simple project, receiving the following error…

 

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

 

C:\BuildProcess>startnant.bat

 

C:\BuildProcess>"NAnt 0.84\bin\nant.exe" -buildfile:cruise.build

NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net

 

Buildfile: file:///C:/BuildProcess/cruise.build

Target(s) specified: run

 

clean:

 

   [delete] Deleting directory C:\BuildProcess\CITest.

    [mkdir] Creating directory C:\BuildProcess\CITest.

 

get:

 

   [vssget] Put $/CITest to CITest

 

build:

 

 [solution] Starting solution build.

 

BUILD FAILED

 

INTERNAL ERROR

 

System.NullReferenceException: Object reference not set to an instance of an object.

   at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlElement elemReference, SolutionTask solutionTask, String outputDir)

   at NAnt.VSNet.Project.Load(Solution sln, String projectPath)

   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, String outputDir, String path)

   at NAnt.VSNet.Solution.LoadProjects()

   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalProjects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTa

sk solutionTask, WebMapCollection webMappings, FileSet excludesProjects, String outputDir)

   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: 0.2 seconds.

 

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

 

 

Please respond as soon as you can…

Thanx

Chris Hoffman

 

Reply via email to