Sean, I really advise you to try using a recent nightly build of NAnt (http://nant.sourceforge.net/nightly/latest).
Loads of issues were fixed since the 0.84 release. Gert > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Forbes [US], Sean J. > Sent: vrijdag 10 juni 2005 19:10 > To: nant-developers@lists.sourceforge.net > Subject: [nant-dev] Please help with solution task build error > > This is my build file (the names "MySolution" and "MyCompany" > are used to protect the innocent). > > <?xml version="1.0"?> > <project name="MySolution" default="debugBuild" basedir="."> > <target name="debugBuild" description="Compiles the debug > source code"> > <solution solutionfile="MySolution.sln" > configuration="debug" verbose="true"> > </solution> > </target> > </project> > > Here is the output from the command prompt. > > C:\MySolution\Solution\Development>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:/MySolution/Solution/Development/MySolution.build > Target(s) specified: debugBuild > > debugBuild: > > [solution] Starting solution build. > [solution] Loading projects... > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.DistributedP > rocessing\MyCompany.DistributedProcessing.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Utilities.Bi > z.Ext\MyCompany.Utilities.Biz.Ext.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Tracker\Sper > ry.Tracker.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Sensor.Biz.I > nt\MyCompany.Sensor.Biz.Int.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Announcement > .TestApp\MyCompany.Announcement.TestApp.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.TopUnit.Biz. > Ext\MyCompany.TopUnit.Biz.Ext.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Ccrs.Gui.Int > \MyCompany.Ccrs.Gui.Int.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Units.Biz.Ex > t\MyCompany.Units.Biz.Ext.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Presentation > .Gui.Ext\MyCompany.Presentation.Gui.Ext.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Initializati > on.ConfigTool\MyCompany.Initialization.ConfigTool.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Drawing.Gui. > Ext\MyCompany.Drawing.Gui.Ext.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Collections. > Biz.Ext\MyCompany.Collections.Biz.Ext.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Units.TestPl > ugin\MyCompany.Units.TestPlugin.csproj'. > [solution] Loading project > 'C:\MySolution\Solution\Development\MyCompany.Tracker.Engi > ne.Biz.Int\MyCompany.Tracker.Engine.Biz.Int.vcproj'. > > BUILD FAILED > > INTERNAL ERROR > > System.NullReferenceException: Object reference not set to an > instance of an obj > ect. > at NAnt.VSNet.Reference..ctor(Solution solution, > ProjectSettings ps, XmlEleme > nt elemReference, SolutionTask solutionTask, String outputDir) > at NAnt.VSNet.VcProject.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 [EMAIL PROTECTED] > > Total time: 1 seconds. > > > There are many more projects that never got loaded. Is this > error because we mix C# and C++.NET projects? I tried to > exclude "MyCompany.Tracker.Engine.Biz.Int.vcproj'.", but the > result was the same. > > Thanks, > Sean > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=ick > _______________________________________________ > nant-developers mailing list > nant-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-developers > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers