Hi,
 
Nant is bailing on me (seemingly when trying to load a mixed mode C++
project) as part of a solution. The output is below. Another thing to
mention while I'm here is that the C++ builder in the solution task doesn't
seem to support expanding properties in the project files like
${ConfigurationName}. This was causing some of my other builds to fail
previously. Not a big problem, I've just removed them for now but it would
be nice if they were supported.

------------------- SNIP ---------------------- 

  [solution] Starting solution build.
 [solution] Loading projects...
 [solution] Loading project
'C:\build\SharedComponents\src\Components\Softel.Logging\Tests\Tests.csproj'
.
 [solution] Loading project
'C:\build\SharedComponents\src\Components\Softel.Logging\Softel.Logging.cspr
oj'.
 [solution] Loading project
'C:\build\SharedComponents\src\Components\Softel.Logging\tests\runnable\Test
s.Runnable.csproj'.
 [solution] Loading project
'C:\build\SharedComponents\src\Components\Softel.Logging\Enterprise\Softel.L
ogging.Enterprise.csproj'.
 [solution] Loading project
'C:\build\SharedComponents\src\Components\Softel.Logging\HouseKeeper\HouseKe
eper.csproj'.
 [solution] Loading project
'C:\build\SharedComponents\src\Components\Softel.Logging\MixedModeLoggerLib\
MixedModeLoggerlib.vcproj'.

onFail:


Tried to close non-existent recorder

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, DirectoryInfo
outputDir) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.VSNet\Reference.cs:li
ne 127
   at NAnt.VSNet.VcProject.Load(Solution sln, String projectPath) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.VSNet\VcProject.cs:li
ne 185
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask, TempFileCollection tfc, DirectoryInfo outputDir, String path) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.VSNet\ProjectFactory.
cs:line 74
   at NAnt.VSNet.Solution.LoadProjects() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.VSNet\Solution.cs:lin
e 420
   at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList
additionalProjects, ArrayList referenceProjects, TempFileCollection tfc,
SolutionTask solutionTask, WebMapCollection webMappings, FileSet
excludesProjects, DirectoryInfo outputDir) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.VSNet\Solution.cs:lin
e 122
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.VSNet\Tasks\SolutionT
ask.cs:line 330
   at NAnt.Core.Task.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Task.cs:line 151
   at NAnt.Core.Target.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Target.cs:line
217
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Project.cs:line
772
   at NAnt.Core.Project.Execute(String targetName) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Project.cs:line
747
   at NAnt.Core.Tasks.CallTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Tasks\CallTask.c
s:line 110
   at NAnt.Core.Task.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Task.cs:line 151
   at NAnt.Core.Target.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Target.cs:line
217
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Project.cs:line
772
   at NAnt.Core.Project.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Project.cs:line
734
   at NAnt.Core.Project.Run() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp325.tmp\src\NAnt.Core\Project.cs:line
797

------------------- SNIP ---------------------- 

Simon.

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


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

<<application/ms-tnef>>

Reply via email to