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



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to