Allan McLemore
Fri, 07 Dec 2007 14:00:18 -0800
<webmap> <map url="http://localhost/MyProject/MyProject.csproj" path="${build.folder.MyProject}/MyProject.csproj" /> </webmap> When I specified an invalid project name I got a really obtuse error message that did not help me at all. (see error message at end of this post) A more intuitive message would have been something like: Cannot locate project, "MyProject.csproj", specified in <webmap> on line# 124. Please verify the .Net project file exists in this location: "[display location where NANT is trying to find the file]". Here is the actually error message that I received: BUILD FAILED INTERNAL ERROR System.Net.WebException: The underlying connection was closed: Unable to connect to the remote server. at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.HttpWebRequest.GetResponse() at NAnt.VSNet.WebDavClient.DownloadFile(String localFileName, String remoteFi leName) at NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectP ath, XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc , GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at NAnt.VSNet.CSharpProject..ctor(SolutionBase solution, String projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, Gac Cache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTas k solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver re ferencesResolver, DirectoryInfo outputDir, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refe rencesResolver, DirectoryInfo outputDir, String path) at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, ReferencesResolver refResolver) at NAnt.VSNet.Everett.Solution..ctor(String solutionContent, SolutionTask sol utionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refReso lver) at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask solutionTask, TempFil eCollection tfc, GacCache gacCache, ReferencesResolver refResolver) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.Tasks.IfTask.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] Thanks, Allan McLemore
------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers