Hi,
I am using NAnt with this (very simple) build script:
============================================================================
=
<?xml version="1.0"?>
<project name="Simple" default="build">
<property name="debug" value="true"/>
<target name="build" description="compiles the source code">
<solution
solutionfile="c:/projects/jobvacancymanager/jobvacancymanager.sln"
configuration="debug">
<webmap>
<map
url="http://localhost/JobVacancy.Web/JobVacancy.Web.csproj"
path="C:\Inetpub\wwwroot\JobVacancy.Web\JobVacancy.Web.csproj" />
</webmap>
</solution>
</target>
</project>
============================================================================
=
When I try to build however, I get this error message:
============================================================================
=
BUILD FAILED
INTERNAL ERROR
System.IO.PathTooLongException: The path is too long after being fully
qualified
. Make sure path is less than 260 characters.
at System.IO.Path.nGetFullPathHelper(String path, Char[]
invalidPathChars, Ch
ar[] whitespaceChars, Char directorySeparator, Char altDirectorySeparator,
Char
volumeSeparator, Boolean fullCheck, String& newPath)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.FileInfo..ctor(String fileName)
at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps,
XmlEleme
nt elemReference, SolutionTask solutionTask, String outputDir)
at NAnt.VSNet.Project.Load(Solution sln, String projectPath)
at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask,
TempFileCollection tfc, String outputDir, String path)
at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps,
XmlEleme
nt elemReference, SolutionTask solutionTask, String outputDir)
at NAnt.VSNet.Project.Load(Solution sln, String projectPath)
at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask,
TempFileCollection tfc, String outputDir, String path)
at NAnt.VSNet.Solution.LoadProjects()
at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList
additionalPro
jects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask
solutio
nTask, 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.6 seconds.
============================================================================
=
How can I find out what path is too long, and what would the possible
solution be?
(I can't imagine any of my paths being longer than 260 chars either!)
Thanks & best regards,
-Jo
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users