From: Sergey P. <iw...@ud...> - 2004-07-22 04:45:35
|
Hi, I try to use <solution> task to build my VS.NET 2003 solutions. When I tried to build VC++.NET project with definition: <solution solutionfile="${nant.project.basedir}\Sources\OLERTF.sln" configuration="Release" /> I got: [cl] cl failed to start. File not found Then, I tried to build VB.NET WindowsForms project with <solution solutionfile="${nant.project.basedir}\Sources\AMA.sln" configuration="Release" /> I got: INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlElement 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 additionalProjects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutionTask, 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.Tasks.CallTask.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() Can someone helps me to figure out what happens? Thanks, Sergey |