<<Error.txt>> I am trying to build a .NET 2.0 project. I know that VS
2005 solutions aren't supported yet, but are projects supported?

This is what I am running at the command line: nant -t:net-2.0 build
where build is the name of my target.

Also, I changed all references in the framework element where the name
attribute is "net-2.0" from the BETA 1 build to the release version of
v2.0.50727 as follows:

<framework 
                    name="net-2.0" 
                    family="net" 
                    version="2.0" 
                    description="Microsoft .NET Framework 2.0" 
                    runtimeengine=""
                    sdkdirectory="${path::combine(sdkInstallRoot,
'bin')}" 
                    frameworkdirectory="${path::combine(installRoot,
'v2.0.50727')}" 
 
frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}"
                    clrversion="2.0.50727"
                    >


Any help greatly appreciated.

Rick G. Garibay
Corporate Systems
Development Lead, MCP
DriveTime Sales & Finance Co.






This email message and any attachments contain information which may be 
privileged and confidential. If you are not the intended recipient or have 
received this transmission in error, please notify the sender immediately and 
destroy all electronic and hard copies of the communication, including 
attachments. Any disclosure, copying, distribution or use of this information 
is strictly prohibited.  Thank you.



NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

Buildfile: 
file:///S:/Int/EAIInt/DriveTime.BusinessEntities.Common/DriveTime.BusinessEntities.Common.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build 


build:

 [solution] Starting solution build.

BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not set to an instance of an 
object.
   at NAnt.VSNet.ProjectFactory.IsUrl(String fileName)
   at NAnt.VSNet.ManagedProjectBase.get_ProjectPath()
   at NAnt.VSNet.CSharpProject.VerifyProjectXml(XmlElement docElement)
   at NAnt.VSNet.ProjectBase..ctor(XmlElement xmlDefinition, SolutionTask 
solutionTask, TempFileCollection temporaryFiles, GacCache gacCache, 
ReferencesResolver referencesResolver, DirectoryInfo outputDir)
   at NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String 
projectPath, 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, 
GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir)
   at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, 
SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, 
ReferencesResolver referencesResolver, DirectoryInfo outputDir, String 
projectPath)
   at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask 
solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver 
referencesResolver, DirectoryInfo outputDir, String path)
   at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, 
ReferencesResolver refResolver)
   at NAnt.VSNet.SolutionBase..ctor(SolutionTask solutionTask, 
TempFileCollection tfc, GacCache gacCache, ReferencesResolver 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.1 seconds.

Reply via email to