Menu

#298 NAnt Solution task

0.8.4.0
closed-out-of-date
Tasks (408)
5
2005-02-10
2005-02-10
Peter Ryan
No

An already existing solution does not build with the
nant solution task. The output from nant is included
below. I am attaching a simple solution that
demonstrates this problem.

NAnt Output

C:\projects\UnNAntable Solution>..\nant-0.84\bin\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:/projects/UnNAntable
Solution/default.build
Target(s) specified: run_build

run_build:

[solution] Starting solution build.

BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not set
to an instance of an obj
ect.
at NAnt.VSNet.Project.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
nant-developers@lists.sourceforge.net.

Total time: 0.1 seconds.

Discussion

  • Gert Driesen

    Gert Driesen - 2005-02-10
    • status: open --> closed
     
  • Gert Driesen

    Gert Driesen - 2005-02-10

    Logged In: YES
    user_id=707851

    This was fixed after the 0.84 release. Try using NAnt 0.85
    RC1 or the latest nightly build
    (http://nant.sourceforge.net/nightly/latest).

     
  • Gert Driesen

    Gert Driesen - 2005-02-10
    • assigned_to: nobody --> drieseng
    • status: closed --> closed-out-of-date
     

Log in to post a comment.