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- > >> > >> > >> > >> > > > > > > > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
