Hi Lisa,

You do not need to have the SDK directory in your PATH to build C# or VB.NET
applications.

Can you check whether the
HKML\Software\Microsoft\.NETFramework\sdkInstallRootv1.1 registry entry
exists, and verify whether the directory that is stored in that entry
actually exists ?

Can you start NAnt in verbose mode (NAnt.exe -verbose -buildfile:<your build
file>) and send us the output ?

The reason why other NAnt examples might work fine, is because they don't
require the SDK to be installed. The <solution> task requires the SDK to
compiles resx files, import type libraries, ....

Hope this helps,

Gert

----- Original Message ----- 
From: "Lisa Nice" <[EMAIL PROTECTED]>
To: "Vinod Bapu" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, November 18, 2004 3:25 PM
Subject: RE: [nant-dev] SDK net framework not available or not configured -
can't build my project


Vinod - Thanks for the reply.

The DotNet Framework SDK V1.1 is installed but I did not have the SDK
included in my path.

I added that and still get the exact same error.

Also, why am I able to build the nant examples without any problems?

Again, thanks in advance for any help!   Lisa



I've tried this from both the regular command prompt window and from the
Visual Studio command prompt window.



Here is my env path echoed from a regular command prompt window:

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\NANT\nan
t-0.84\bin;C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Bin;C:\Program Files\av\avwin



Here is my path echoed from the Visual Studio command prompt window:

PATH=c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE;c:\Program Files\Microsoft Visual Studio .NET
2003\VC7\BIN;c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools;c:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\bin\prerelease;c:\Program Files\Microsoft Visual
Studio .NET 2003\Common7\Tools\bin;c:\Program Files\Microsoft Visual
Studio .NET
2003\SDK\v1.1\bin;c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\WINDOW
S\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\NANT\nant-0.84\bin;C:\
Program Files\av\avwin;



Here is my build file:

<?xml version="1.0" ?>



<project name="sample" default="build">

<target name="build">

<solution configuration="release" solutionfile="K-E-T.sln"
outputdir="c:\TEMP">

<projects>

      <includes name="K-E-T.csproj"/>

</projects>

</solution>

</target>

</project>

________________________________

From: Vinod Bapu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 7:15 PM
To: Lisa Nice; [EMAIL PROTECTED]
Subject: RE: [nant-dev] SDK net framework not available or not
configured - can't build my project



Hi Lisa,



Installing DotNet Framework SDK V1.1 and set the environment path to SDK
will solve your problem.



Regards

Vinod



________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lisa
Nice
Sent: Thursday, 18 November 2004 09:43 AM
To: [EMAIL PROTECTED]
Subject: [nant-dev] SDK net framework not available or not configured -
can't build my project



Hi

I have just started using nant 0.84.  I have a small c# solution I'm
trying to build.  (VS2003)

Nant returns the following message.

I've changed the default framework in nant.exe.config to net1-1.1
version 1.1.4322.

The nant exe is in my path.

However, I can use nant successfully to build all the examples delivered
with the code, so I'm confused about the error message.



Thanks in advance for any help.

Lisa





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



Buildfile: file:///C:/Documents and Settings/lnice/My
Documents/KET/testNAnt.build

Target(s) specified: build



build:



 [solution] Starting solution build.

 [solution] Building K-E-T [release]...



            BUILD FAILED



            The SDK for the net-1.1 framework is not available or not
configured.



            Total time: 12 seconds.



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to