From: Gert D. <ger...@pa...> - 2004-06-27 05:49:25
|
Virginie, The <solution> task still needs a lot of work in order to support Visual = C++ projects. It would be great if someone is willing to step up, and lead t= his effort ... Gert ----- Original Message ----- From: "Virginie Helloco" <hel...@ho...> To: <nan...@li...> Sent: Thursday, June 17, 2004 4:50 PM Subject: [nant-dev] BUG solution task throws NullReferenceException > When I want to execute the solution: (Is it a bug of nant?) > > <solution configuration=3D"${build.configuration}" verbose=3D"true"> > <projects> > > <includes name=3D"..\projet\src\Tools\Tools.vcproj"/> > > <includes name=3D"..\projet\src\Tools\TestTools\TestTools.vcproj"/> > </projects> > <referenceprojects> > > </referenceprojects> > </solution> > > > > > buildTools: > > [solution] Starting solution build. > [solution] Included projects: > [solution] - ..\projet\src\Tools\Tools.vcproj > [solution] - ..\projet\src\Tools\TestTools\TestTools.vcproj > [solution] Loading projects... > [solution] Loading project 'projet\src\Tools\TestTools\TestTools.vcproj= '. > > BUILD FAILED > > INTERNAL ERROR > > System.NullReferenceException: Object reference not set to an instance = of an > object. > at NAnt.VSNet.VcConfiguration..ctor(XmlElement elem, VcProject > parentProject, Solution parentSln, VcConfiguration parentConfig, > DirectoryInfo outputDir) in c:\Documents and Settings\Administrator\Loc= al > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\VcConfiguration.cs:line 58 > at NAnt.VSNet.VcConfiguration..ctor(XmlElement elem, VcProject > parentProject, Solution parentSln, DirectoryInfo outputDir) in c:\Documents > and Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\VcConfiguration.cs:line 42 > at NAnt.VSNet.VcProject.Load(Solution sln, String projectPath) in > c:\Documents and Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\VcProject.cs:line 175 > at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask > slnTask, TempFileCollection tfc, DirectoryInfo outputDir, String path) = in > c:\Documents and Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\ProjectFactory.cs:line 74 > at NAnt.VSNet.Solution.LoadProjects() in c:\Documents and > Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\Solution.cs:line 420 > at NAnt.VSNet.Solution..ctor(ArrayList projects, ArrayList > referenceProjects, TempFileCollection tfc, SolutionTask solutionTask, > WebMapCollection webMaps, FileSet excludesProjects, DirectoryInfo outputDir) > in c:\Documents and Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\Solution.cs:line 142 > at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in c:\Documents and > Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 327 > at NAnt.Core.Task.Execute() in c:\Documents and > Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.Core\Task.cs:line 151 > at NAnt.Core.Target.Execute() in c:\Documents and > Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.Core\Target.cs:line 217 > at NAnt.Core.Project.Execute(String targetName, Boolean > forceDependencies) in c:\Documents and Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.Core\Project.cs:line 768 > at NAnt.Core.Project.Execute() in c:\Documents and > Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.Core\Project.cs:line 730 > at NAnt.Core.Project.Run() in c:\Documents and > Settings\Administrator\Local > Settings\Temp\tmp454.tmp\src\NAnt.Core\Project.cs:line 793 > > Please send bug report to nan...@li.... > > Total time: 0.2 seconds. > > _________________________________________________________________ > Recevez par e-mail des =E9motic=F4nes pour MSN Messenger > http://g.msn.fr/FR1001/2275?url=3Dhttp://www.msn.fr/ilovemessenger/premiu= m/Def ault.asp?Ath=3Df > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > nant-developers mailing list > nan...@li... > https://lists.sourceforge.net/lists/listinfo/nant-developers > |