Mark, I have a fix for this (and some other regressions in our VC++ support) locally. It just needs a little more testing.
I'll let you know when there's a nightly build available that contains a fix for your issue. Gert > -----Original Message----- > From: Mark Henry [mailto:[EMAIL PROTECTED] > Sent: maandag 29 november 2004 18:14 > To: Gert Driesen > Cc: [EMAIL PROTECTED] > Subject: Re: [nant-dev] NAnt Exception > > Hey, sorry for taking so long in getting back to you. Turns out we > found a workaround for the devenv problem so we've been using > that for > now. In any case, I just downloaded 0.85-rc1 and tried that. > It still > doesn't work. We ran into a bug in .Net's XML classes > ourselves - I'd > have to ask my co-worker exactly what the problem was (I'm not an XML > guru, and the only reason I bring that up is because something XML > related is in the stack trace). Here's what nant is reporting: > > NAnt 0.85 (Build 0.85.1793.0; rc1; 11/28/2004) > Copyright (C) 2001-2004 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///D:/projects/mhenry/ke5/ke5.build > Target(s) specified: build > > > build: > > D:\projects\mhenry\ke5\ke5.build(14,14): Element <includes... /> for > <fileset... /> is deprecated. Use <include> element instead. > [solution] Starting solution build. > > BUILD FAILED - 0 non-fatal error(s), 1 warning(s) > > INTERNAL ERROR > > System.ArgumentNullException: Value cannot be null. > Parameter name: projectSettings > at NAnt.VSNet.ProjectReference..ctor(XmlElement xmlDefinition, > ReferencesResolver referencesResolver, ProjectBase parent, > SolutionBase > solution, ProjectSetti ngs projectSettings, GacCache gacCache, > DirectoryInfo outputDir) > at > NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase solution, > ProjectSettings projectSettings, XmlElement xmlDefinition, GacCache > gacCache, ReferencesResolver referencesResolver, ProjectBase parent, > DirectoryInfo outputDir) > at NAnt.VSNet.VcProject..ctor(SolutionBase solution, String > projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, > TempFileCollection tfc, GacCache gacCache, ReferencesResolver > refResolver, DirectoryInfo outputDir) > at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, > SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, > ReferencesResolver referencesResolver, DirectoryInfo > outputDir, String > projectPath) > at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, > SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, > ReferencesResolver referencesResolver, DirectoryInfo > outputDir, String path) > at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, > ReferencesResolver refResolver) > at NAnt.VSNet.Everett.Solution..ctor(String solutionContent, > SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, > ReferencesResolver refResolver) > at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask > solutionTask, > TempFileCollection tfc, GacCache gacCache, ReferencesResolver > refResolver) > 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.9 seconds. > > -Mark- > > > Gert Driesen wrote: > > >Mark, > > > >Can you try to use the latest nightly build and send me the > full error > >message that you get ? > > > >I recently rewrote a large part of the <solution> task. > > > >Gert > > > >----- Original Message ----- > >From: "Mark Henry" <[EMAIL PROTECTED]> > >To: "Gert Driesen" <[EMAIL PROTECTED]> > >Cc: <[EMAIL PROTECTED]> > >Sent: Monday, November 15, 2004 5:00 PM > >Subject: Re: [nant-dev] NAnt Exception > > > > > > > > > >>Well, I can't give you the sources, since this isn't a > personal project > >>- it's for my employer. However, I'll try to re-create the > problem in a > >>new solution. > >> > >>-Mark- > >> > >> > >>Gert Driesen wrote: > >> > >> > >> > >>>Mark, > >>> > >>>I need a small solution (including project files and > sources) in order to > >>>reproduce this issue. > >>> > >>>Gert > >>> > >>> > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: [EMAIL PROTECTED] > >>>>[mailto:[EMAIL PROTECTED] On > >>>>Behalf Of Mark Henry > >>>>Sent: donderdag 11 november 2004 21:43 > >>>>To: [EMAIL PROTECTED] > >>>>Subject: [nant-dev] NAnt Exception > >>>> > >>>>We're trying to use nant to compile a solution from the > command line > >>>>(since devenv has serious issues doing that itself). > However, nant > >>>>continually crashes when reading the solution file. It > appears nant > >>>>doesn't like the mix of managed C++ and C# projects that we > >>>>have going. > >>>>I've tried both the current release of nant as well as the lastest > >>>>nightly build (Nov. 10th). Both get the same exception and pasted > >>>>below. I've also attached the solution file itself and the > >>>>nant build > >>>>file. The "build" target is what causes the crash. The > >>>>various other > >>>>targets are working fine and aren't an issue. I added a > >>>>"devenv" target > >>>>that just calls devenv to do the build, but as I > mentioned, that's a > >>>>less then optimal solution to the problem. If you could shed > >>>>some light > >>>>on this problem, we'd be very grateful. If you need any other > >>>>information (such as the project files), let me know. > >>>> > >>>>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:///D:/projects/mhenry/ke5/ke5.build > >>>>Target(s) specified: build > >>>> > >>>>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.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 > >>>>additionalProjects, ArrayList referenceProjects, > >>>>TempFileCollection tfc, > >>>>SolutionTask 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. > >>>> > >>>> > >>>>-Mark- > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >> > >> > >> > >> > > > > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers