Hi,
I'm getting the
following error when using the solution task.
NAnt 0.84 (Build
0.84.1455.0; net-1.0.win32; release; 26/12/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///C:/Src/Notification
Service/Betdaq.Notifications.Helper/helper.build
Target(s) specified: debugBuild
Target(s) specified: debugBuild
debugBuild:
[solution]
Starting solution build.
BUILD
FAILED
INTERNAL
ERROR
System.ArgumentNullException: Value cannot be
null.
Parameter name: path2
at System.IO.Path.Combine(String path1, String path2)
at NAnt.VSNet.VcConfiguration.get_OutputPath()
at NAnt.VSNet.VcProject.GetOutputPath(String configuration)
at NAnt.VSNet.Solution.GetDependenciesFromProjects()
at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalProjects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTa
sk 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()
Parameter name: path2
at System.IO.Path.Combine(String path1, String path2)
at NAnt.VSNet.VcConfiguration.get_OutputPath()
at NAnt.VSNet.VcProject.GetOutputPath(String configuration)
at NAnt.VSNet.Solution.GetDependenciesFromProjects()
at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalProjects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTa
sk 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.
The buildfile looks
like this:
<?xml
version="1.0"?>
<project name="Betdaq Notification Helper" default="debugBuild">
<project name="Betdaq Notification Helper" default="debugBuild">
<target
name="debugBuild">
<solution solutionfile="Helper.sln" configuration="debug" />
</target>
<solution solutionfile="Helper.sln" configuration="debug" />
</target>
</project>
which isn't too
complicated.
Any help is
appreciated.