nant version: nightly build from 2003-10-31.
Besides the error, some other notes:
1) If in verbose mode, can nant output the full version number?
2) I'm running this under my account, yet Nant seems to be using the
Administrator temp directory. Any reason?


<?xml version="1.0"?>
<project
        name="MyProject"
        default="build-MyProject"
        xmlns="http://nant.sf.net/schema/nant-20030903.xsd";
        >
        <description>Build MyProject Solution.</description>

        <target name="build-MyProject" description="Build MyProject">
                <solution
                        solutionfile="MyProject.sln"
                        configuration="release"
                        />
        </target>
</project>




C:\_Playpens\Root\MyProject>nant -v
NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Framework net-1.2 is invalid and has not been loaded : Framework directory
C:\WINNT\Microsoft.NET\Framework\v1.2.30703 does not exist.
Framework mono-1.0 is invalid and has not been loaded : Property
'sdkInstallRoot' has not been set.
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:/_Playpens/Root/[...]/MyProject.build
Base Directory: C:\_Playpens\Root\MyProject.
Target(s) specified: build-MyProject
Build sequence for target `build-MyProject' is build-MyProject
Complete build sequence is build-MyProject

build-MyProject:

 [solution] Starting solution build.
 [solution] Loading projects...
 [solution] Loading project
'C:\_Playpens\Root\MyProject\..\..\ClassLib\Core\CoreLib.vbproj'.

BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not set to an instance of an
object.
   at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.VSNet\Project.cs:li
ne 184
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask, TempFileCollection tfc, String outputDir, String path) in C:
\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.VSNet\ProjectFactory.cs:
line 50
   at NAnt.VSNet.Solution.LoadProjects() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.VSNet\Solution.cs:line
373
   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList
additionalProjects, ArrayList referenceProjects, TempFileCollection tfc,
SolutionTask solutionTask, WebMapCollection webMappings, FileSet
excludesProjects, String outputDir) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\t
mp23.tmp\src\NAnt.VSNet\Solution.cs:line 113
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.VSNet\Tasks\SolutionTa
sk.cs:line
289
   at NAnt.Core.Task.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.Core\Task.cs:line 151
   at NAnt.Core.Target.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.Core\Target.cs:line
207
   at NAnt.Core.Project.Execute(String targetName) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.Core\Project.cs:line
753
   at NAnt.Core.Project.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.Core\Project.cs:line
729
   at NAnt.Core.Project.Run() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp23.tmp\src\NAnt.Core\Project.cs:line
778

Please send bug report to [EMAIL PROTECTED]

Total time: 0.2 seconds.





Nick
http://www.varacalli.com



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to