Hello All,

            I’m using NAnt for the first time so I hope this is a simple one but I’ve been unable to find the answer in any other post.  I’m getting this error:

NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net

 

Framework net-1.2 is invalid and has not been loaded : Framework directory C:\WI

NDOWS\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:/Dev/Payments/IBX {HammerHead}/Source/Common/Common.build

Base Directory: C:\Dev\Payments\IBX {HammerHead}\Source\Common.

Target(s) specified: BuildProject

  [include] Including file C:\Dev\Payments\IBX {HammerHead}\common.nant.

[loadtasks] Loading tasks from assembly C:\Dev\Payments\IBX {HammerHead}\Lib\NAn

t.NUnit2Tasks.dll.

 

BuildProject:

 

     [echo] Building Common

[loadtasks] Scanning directory C:\Dev\Payments\IBX {HammerHead}\Lib for task ass

emblies.

     [echo] after loadtasks

 

BUILD FAILED

 

INTERNAL ERROR

 

System.ArgumentException: Xml node has not been mapped.

   at NAnt.Core.LocationMap.GetLocation(XmlNode node)

   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.

 

While trying to run the following script in verbose using the 1.1 .net framework:

<?xml version="1.0"?>

<project name="Common" default="Debug">

    <description></description>

 

    <property name="CORI.project.name" value="Common" />

 

    <ifnot propertyexists="CORI.base.dir" >

        <property name="CORI.base.dir" value="..\.." />

    </ifnot>

 

    <include buildfile="${CORI.base.dir}\common.nant" />

 

    <target name="BuildProject">

            <echo message="Building Common" />

            <loadtasks path="${CORI.base.dir}\Lib" />

   

            <echo message="after loadtasks" />

        <solution includevsfolders="false" configuration="release" outputdir="${CORI.base.dir}\Bin" >

            <projects>

                <includes name="HelloWorld.csproj" />

            </projects>

        </solution>

        <echo message="End Target" />

    </target>

</project>

 

I’m running Windows NT, using Micosoft .NET framework 1.1 and the csproj HelloWorld is a dummy program that compiles just fine manually and does have all the necessary files properly listed in the .csproj file.

 

Thanks for the help,

 

A.J. Supinski

Corillian Corp.

[EMAIL PROTECTED]

 

Reply via email to