Hi Ka, More recent versions of NAnt will provide a more meaningful (verbose) message here, and the assembly resolution process will not be interrupted.
Gert > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Kamran Amin > Sent: dinsdag 8 februari 2005 18:50 > To: nant-developers@lists.sourceforge.net > Subject: [nant-dev] I got the following internal error when > trying to run my build script in NAnt > > 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, Char[] whitespaceChars, Char > directorySeparator, Char altDirectorySep > arator, Char volumeSeparator, Boolean fullCheck, > String& newPath) > at System.IO.Path.GetFullPathInternal(String path) > at System.IO.Path.GetFullPath(String path) > at > NAnt.VSNet.AssemblyReference.ResolveFromRelativePath(XmlElement > referenceElement, String relativePath) > at > NAnt.VSNet.AssemblyReference.ResolveAssemblyReference() > at NAnt.VSNet.AssemblyReference..ctor(XmlElement > definition, ReferencesResolver referencesResolver, > ProjectBase parent, GacCache gacCache) > at > NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase > solution, ProjectSettings projectSettings, XmlElement > xmlDefinition, GacCache gacCac > he, ReferencesResolver referencesResolver, ProjectBase > parent, DirectoryInfo outputDir) > at NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase > solution, String projectPath, XmlElement > xmlDefinition, SolutionTask solutionTask, TempFileC > ollection tfc, GacCache gacCache, ReferencesResolver > refResolver, DirectoryInfo outputDir) > at NAnt.VSNet.CSharpProject..ctor(SolutionBase > solution, String projectPath, XmlElement > xmlDefinition, SolutionTask solutionTask, > TempFileCollec > tion tfc, GacCache gacCache, ReferencesResolver > refResolver, DirectoryInfo outputDir) > at > NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase > solution, SolutionTask solutionTask, > TempFileCollection tfc, GacCache gacCache, Referenc > esResolver referencesResolver, DirectoryInfo > outputDir, String projectPath) > at > NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase > solution, SolutionTask solutionTask, > TempFileCollection tfc, GacCache gacCache, References > Resolver referencesResolver, DirectoryInfo outputDir, > String path) > at NAnt.VSNet.ProjectReference..ctor(XmlElement > xmlDefinition, ReferencesResolver referencesResolver, > ProjectBase parent, SolutionBase solution, > ProjectSettings projectSettings, GacCache gacCache, > DirectoryInfo outputDir) > at > NAnt.VSNet.ReferenceFactory.CreateReference(SolutionBase > solution, ProjectSettings projectSettings, XmlElement > xmlDefinition, GacCache gacCac > he, ReferencesResolver referencesResolver, ProjectBase > parent, DirectoryInfo outputDir) > at NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase > solution, String projectPath, XmlElement > xmlDefinition, SolutionTask solutionTask, TempFileC > ollection tfc, GacCache gacCache, ReferencesResolver > refResolver, DirectoryInfo outputDir) > at NAnt.VSNet.CSharpProject..ctor(SolutionBase > solution, String projectPath, XmlElement > xmlDefinition, SolutionTask solutionTask, > TempFileCollec > tion tfc, GacCache gacCache, ReferencesResolver > refResolver, DirectoryInfo outputDir) > at > NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase > solution, SolutionTask solutionTask, > TempFileCollection tfc, GacCache gacCache, Referenc > esResolver referencesResolver, DirectoryInfo > outputDir, String projectPath) > at > NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase > solution, SolutionTask solutionTask, > TempFileCollection tfc, GacCache gacCache, References > Resolver referencesResolver, DirectoryInfo outputDir, > String path) > at NAnt.VSNet.SolutionBase.LoadProjects(GacCache > gacCache, ReferencesResolver refResolver) > at NAnt.VSNet.Everett.Solution..ctor(String > solutionContent, SolutionTask solutionTask, > TempFileCollection tfc, GacCache gacCache, > ReferencesRes > olver refResolver) > at > NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask > solutionTask, TempFileCollection tfc, GacCache > gacCache, ReferencesResolver refResolver) > > 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. > > > My build script is: > > > <?xml version="1.0"?> > <project name="BusinessFacade" default="build" > basedir="."> > <property name="nant.settings.currentframework" > value="net-1.1" /> > <property name="systemname" value="PortUWSystem" /> > <property name="debug" value="true" /> > <property name="build.dir" value="output" /> > <property name="src.dir" value="." /> > <property name="filename" value="c:\CruiseLog" /> > <property name="configuration" value="release"/> > <property name="webpath" > value="C:/Inetpub/wwwroot/PortUWSystem/"/> > <target name="build" description="Build all > targets."> > <solution configuration="${configuration}" > solutionfile="PortUWSystem.sln"> > <webmap> > <map > url="http://localhost/PortUWSystem/PortUWSystemWebServiceProje > cts_WebService/WebService.csproj" > > > path="C:\Inetpub\wwwroot\PortUWSystem\PortUWSystemWebServicePr > ojects_WebService\WebService.csproj" > /> > <map > url="http://localhost/PortUWSystem/PortUWSystemWebUIProjects_W > ebUI/WebUI.csproj" > > > path="C:\Inetpub\wwwroot\PortUWSystem\PortUWSystemWebUIProject > s_WebUI\WebUI.csproj" > /> > </webmap> > </solution> > </target> > </project> > > > thanks > ka > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > nant-developers mailing list > nant-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-developers > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers