Hi all,
I've tried to build 5 different solutions using the solutiontask, but all give the same error. To keep things simple here, I used a "Hello World" solution.
My Build File consists of:
<?xml version="1.0"?>
<project name="Hello World" default="build">
<target name="build" description="compiles the source code">
<solution solutionfile="Hello World.sln" configuration="debug"/>
</target>
</project>
The Error is:
Buildfile: file:///C:/Workspace/Hello World/hello_world.build.xml
build:
[solution] Starting solution build
[solution] Starting solution build
INTERNAL ERROR
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.Parse()
at System.Uri..ctor(String uriString, Boolean dontEscape)
at System.Uri..ctor(String uriString)
at SourceForge.NAnt.Tasks.Solution..ctor(String strSolutionFilename, ArrayList alAdditionalProjects, ArrayList alReferenceProjects, Task nanttask)
at SourceForge.NAnt.Tasks.VSProjTask.ExecuteTask()
at SourceForge.NAnt.Task.Execute()
at SourceForge.NAnt.Target.Execute()
at SourceForge.NAnt.Project.Execute(String targetName)
at SourceForge.NAnt.Project.Execute()
at SourceForge.NAnt.Project.Run()
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.Parse()
at System.Uri..ctor(String uriString, Boolean dontEscape)
at System.Uri..ctor(String uriString)
at SourceForge.NAnt.Tasks.Solution..ctor(String strSolutionFilename, ArrayList alAdditionalProjects, ArrayList alReferenceProjects, Task nanttask)
at SourceForge.NAnt.Tasks.VSProjTask.ExecuteTask()
at SourceForge.NAnt.Task.Execute()
at SourceForge.NAnt.Target.Execute()
at SourceForge.NAnt.Project.Execute(String targetName)
at SourceForge.NAnt.Project.Execute()
at SourceForge.NAnt.Project.Run()
Am I leaving something important out of my build file, or somehow doing something wrong?
Thanks in advance,
Malius
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!