Hi All,

I need help with a very simple solution task. My environment is VS .Net
and the solution contains one vc++ project that complies fine from the
IDE. I need some help desparately.

Thanks in advance-
KHS

My nant.build file looks like this-
<?xml version="1.0"?>
<project name="CSTASubsys" default="Release">
  <property name="build.basedir" value="build" />
  <target name="setup">
    <mkdir dir="${build.dir}" />
  </target>
  <target name="DebugClean">
    <!--hardcoded for backwards compatibility-->
    <property name="build.dir" value="${build.basedir}\Debug" />
    <call target="Clean" />
  </target>
  <target name="ReleaseClean">
    <!--hardcoded for backwards compatibility-->
    <property name="build.dir" value="${build.basedir}\Release" />
    <call target="Clean" />
  </target>
  <target name="Clean" />
<!-- compile -->
  <target name="Release" description="Builds the CSTA Subsystem -
Release">
    <property name="build.dir" value="${build.basedir}\Release" />
    <call target="setup" />
    <solution solutionfile="CSTASubsystem.sln"
configuration="Release|Win32" />
  </target>
</project>

Output from the Nant invocation is >>>

F:\aspt_src\CSTASubsys\src>nant -v
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

settings warning: frameworkinfo mono-0.21 is invalid and has not been
loaded: frameworkDir C:\mono-0.21\install\bin does not exist
settings warning: frameworkinfo mono-0.22 is invalid and has not been
loaded: frameworkDir C:\mono-0.22\install\bin does not exist
settings warning: frameworkinfo mono-0.23 is invalid and has not been
loaded: frameworkDir C:\mono-0.23\bin does not exist
settings warning: frameworkinfo sscli-1.0 is invalid and has not been
loaded: frameworkDir C:\sscli\build\v1.x86fstchk.rotor does not exist
Buildfile: file:///F:/aspt_src/CSTASubsys/src/nant.build
Base Directory: F:\aspt_src\CSTASubsys\src.

Release:


setup:

 [solution] Starting solution build.
 [solution] Included projects:
 [solution] Reference projects:
Total time: 0 seconds.

BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not set to an instance
of an object.
   at NAnt.VSNet.Tasks.ProjectSettings..ctor(XmlElement elemRoot,
XmlElement elemSettings)
   at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename)
   at NAnt.VSNet.Tasks.Solution.LoadProjects()
   at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename,
ArrayList alAdditionalProjects, ArrayList alReferenceProjects, Task
nanttask)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Please send bug report to [EMAIL PROTECTED]

=====


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to