An already existing solution does not build with the
nant solution task. The output from nant is included
below. I am attaching a simple solution that
demonstrates this problem.
C:\projects\UnNAntable Solution>..\nant-0.84\bin\NAnt
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:/projects/UnNAntable
Solution/default.build
Target(s) specified: run_build
run_build:
[solution] Starting solution build.
BUILD FAILED
INTERNAL ERROR
System.NullReferenceException: Object reference not set
to an instance of an obj
ect.
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 additionalPro
jects, ArrayList referenceProjects, TempFileCollection
tfc, SolutionTask solutio
nTask, 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
nant-developers@lists.sourceforge.net.
Total time: 0.1 seconds.
Logged In: YES
user_id=707851
This was fixed after the 0.84 release. Try using NAnt 0.85
RC1 or the latest nightly build
(http://nant.sourceforge.net/nightly/latest).