I am using the latest version of NAnt. I ran it with -v option and found out that the version of .NET framework I am using is not getting picked up. I am using v1.1.4322 and its looking for v1.0.3705. I do have the framework version proper set properly but this does not seem to be working. Thanks for you help in advance.
<property name="nant.settings.currentframework" value="net-1.1" /> thanks Kamran New log below: C:\Documents and Settings\a015169\My Documents\Visual Studio Projects\PortUWSystem>nant -v NAnt 0.85 (Build 0.85.1793.0; rc1; 11/28/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Framework 'net-1.0' is invalid and has not been loaded : The 'System.dll' assembly does not exist in framework assembly directory 'C:\WINNT\Microso ft.NET\Framework\v1.0.3705'. Framework 'net-2.0' is invalid and has not been loaded : Framework directory 'C:\WINNT\Microsoft.NET\Framework\v2.0.40607' does not exist. Framework 'mono-1.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]'; Framework 'mono-2.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\';hive='Microsoft.Win32.RegistryHive[]'; Framework 'sscli-1.0' is invalid and has not been loaded : Framework directory 'C:\sscli\build\v1.x86fstchk.rotor' does not exist. Buildfile: file:///C:/Documents and Settings/a015169/My Documents/Visual Studio Projects/PortUWSystem/default.build Base Directory: C:\Documents and Settings\a015169\My Documents\Visual Studio Projects\PortUWSystem. Target(s) specified: build build: [solution] Starting solution build. [solution] Loading projects... [solution] Loading project 'C:\Documents and Settings\a015169\My Documents\Visual Studio Projects\PortUWSystem\DataAccessProjects\PortUWDataAccess \PortUWDataAccess.csproj'. [solution] Loading referenced project 'C:\Documents and Settings\a015169\My Documents\Visual Studio Projects\PortUWSystem\SystemFrameworksProjects \XLFramework\XLFramework.csproj'. 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, 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. --- Gert Driesen <[EMAIL PROTECTED]> wrote: > 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" > > > === message truncated === __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.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