Hi,
I'm currently working with SolutionTask to build my solution file but I am having problem with it.

My errors;
C:\Projects\Release1\Source\TA>nant
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Projects/Release1/Source/TEST/TESTSln.build

TESTSolution:

     [echo] Building TEST Solution
 [solution] Starting solution build.
Total time: 0 seconds.

BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not set to an instance of an object.
   at NAnt.VSNet.Tasks.Reference.HandleWrapperImport(XmlElement elemReference)
   at NAnt.VSNet.Tasks.Reference..ctor(Solution sln, ProjectSettings ps, XmlElement elemReference, Task nanttask)
   at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename)
   at NAnt.VSNet.Tasks.Solution.LoadProjects()
   at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, ArrayList alAdditionalProjects, ArrayList alReferenceProjects, Task nanttask)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Please send bug report to [EMAIL PROTECTED]


My Code:
<?xml version="1.0"?>
<project name="TEST" default="TESTSolution">

    <target name="TESTSolution" description="Build TEST.sln using SolutionTask">
        <echo message="Building TEST Solution"/>
        <solution configuration="debug" solutionfile="TEST.sln">
        </solution>
   </target>
   
</project>


What am I doing wrongly? I am using the latest version 0.8.3.

Thanks and regards.

Reply via email to