Hi Phil,
The issue you reported is fixed in cvs, but we could very well be dropping
support for url references (web projects) in favor of using the WebMap
collection to map these url's to local paths ...
<solution solutionfile="test.sln" configuration="release">
<webmap>
<map url="http://localhost/A/A.csproj"
path="c:\inetpub\wwwroot\A\A.csproj" />
</webmap>
</solution>
Hope this helps,
Gert
----- Original Message -----
From: "Phil Haack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 31, 2003 7:28 PM
Subject: [nant-dev] Bug with Solution Task - URI formats are not supported.
> Hello,
>
> I had the following exception thrown when attempting
> to use the Solution task. My solution has several dll
> projects and one web project. I made sure to allow
> script source access on the web project.
>
>
> NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw
> http://nant.sourceforge.net
>
> Framework net-1.2 is invalid and has not been loaded :
> Framework directory
> C:\WINNT\Microsoft.NET\Framework\v1.2.30703 does not
> exist.
> Framework netcf-1.0 is invalid and has not been loaded
> : Property 'sdkInstallRoot' has not been set.
> Framework mono-1.0 is invalid and has not been loaded
> : Property 'sdkInstallRoot' has not been set.
> Framework sscli-1.0 is invalid and has not been loaded
> : Framework directory
> C:\sscli\build\v1.x86fstchk.rotor does not exist.
> Buildfile:
>
file:///E:/Projects/TrafficSystem/BuildOutput/BuildScripts/BuildAssemblies.build
> Base Directory:
> E:\Projects\TrafficSystem\BuildOutput\BuildScripts.
> Target(s) specified: build
> [include] Including file
>
E:\Projects\TrafficSystem\BuildOutput\BuildScripts\BuildProperties.include.x
ml.
> [tstamp] Friday, October 31, 2003 10:25:50 AM.
> [tstamp] build.date = 2003.10.31.
> Build sequence for target `build' is get.latest,
> prepare, build
> Complete build sequence is get.latest, prepare, build,
> vss.label
>
> get.latest:
>
> [vssget] Put
> $/Projects/TrafficSystem/TrafficWebAppSolution to
> E:\Projects\TrafficSystem\TrafficWebAppSolution
>
> prepare:
>
>
> build:
>
> [solution] Starting solution build.
> [solution] Only C#, VB.NET and C++ projects are
> supported. Skipping project
>
'Univision.Traffic.Output.Service.Installer\Univision.Traffic.Output.Service
.Installer.vdproj'.
> [solution] Loading projects...
> [solution] Loading project
>
'e:\projects\trafficsystem\trafficwebappsolution\Univision.Traffic.Legacy\Un
ivision.Traffic.Legacy.csproj'.
> [solution] Loading project
> 'http://localhost/TrafficWebApp/TrafficWebApp.csproj'.
>
> BUILD FAILED
>
> INTERNAL ERROR
>
> System.ArgumentException: URI formats are not
> supported.
> at System.IO.Path.GetFullPathInternal(String path)
> at System.IO.Path.GetFullPath(String path)
> at NAnt.VSNet.Project.get_ProjectPath() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\Project.cs:line
> 66
> at NAnt.VSNet.Project.get_Name() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\Project.cs:line
> 59
> at NAnt.VSNet.ConfigurationSettings..ctor(Project
> project, XmlElement elemConfig, SolutionTask
> solutionTask, String outputDir) in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\ConfigurationSe
ttings.cs:line
> 71
> at NAnt.VSNet.Project.Load(Solution sln, String
> projectPath) in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\Project.cs:line
> 169
> at NAnt.VSNet.ProjectFactory.LoadProject(Solution
> sln, SolutionTask slnTask, TempFileCollection tfc,
> String outputDir, String path) in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\ProjectFactory.
cs:line
> 50
> at NAnt.VSNet.Solution.LoadProjects() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\Solution.cs:lin
e
> 373
> at NAnt.VSNet.Solution..ctor(String
> solutionFileName, ArrayList additionalProjects,
> ArrayList referenceProjects, TempFileCollection tfc,
> SolutionTask solutionTask, WebMapCollection
> webMappings, FileSet excludesProjects, String
> outputDir) in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\Solution.cs:lin
e
> 113
> at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.VSNet\Tasks\SolutionT
ask.cs:line
> 289
> at NAnt.Core.Task.Execute() in
> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Task.cs:line
> 151
> at NAnt.Core.Target.Execute() in
> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Target.cs:line
> 207
> at NAnt.Core.Project.Execute(String targetName) in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Project.cs:line
> 753
> at NAnt.Core.Project.Execute() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Project.cs:line
> 729
> at NAnt.Core.Project.Run() in
>
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp291.tmp\src\NAnt.Core\Project.cs:line
> 778
>
> Please send bug report to
> [EMAIL PROTECTED]
>
> Total time: 1.4 seconds.
>
>
>
> __________________________________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> nant-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>
>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers