Great. That indeed was the problem. The Nant.exe.config had entry with
defaultframework="net-1.0" that caused this problem. 

Now, I think most of the users have 1.1, so may be we should change the
default entry on sourceForge to "net-1.1", so newbies (like me) don't run
into this ? 

- Umesh

-----Original Message-----
From: Ian MacLean [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2003 9:41 PM
To: Gert Driesen
Cc: Mahajan, Umesh; [EMAIL PROTECTED]
Subject: Re: [Nant-users] Solution task error - "The SDK directory for the
net-1.0 framewor k"


I think the problem here is that they want to build on 1.1 but 1.0 is 
set as the default and those machines no longer have 1.0 installed. Set 
the default framework to net-1.1 in nant.exe.config and it should be ok.

Ian

> The solution task uses resgen.exe to compile resx files, and
> resgen.exe is only available as part of the .NET Framework SDK.

and its included with vs.net. well the whole sdk is included.

> Gert
>
>     ----- Original Message -----
>     *From:* Mahajan, Umesh <mailto:[EMAIL PROTECTED]>
>     *To:* [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     *Sent:* Monday, November 24, 2003 5:13 PM
>     *Subject:* [Nant-users] Solution task error - "The SDK directory
>     for the net-1.0 framewor k"
>
>     I am using NANT latest nightly build on my machine successfully
>     with .NET 1.1 framework.
>     However, some other people in my group who have very similar
>     machines with .NET framework 1.1 installed are getting the
>     following error :
>
>                 "The SDK directory for the net-1.0 framework is not
>     available or not configured."
>     This error comes when they try to build a .NET project using
>     <?xml version="1.0"?>
>     <project name="MyProj" default="compile_debug">
>         <target name="compile_debug" description="Build the debug
>     configuration">
>                     <solution solutionfile="${build_dir}\MyProj.sln"
>     configuration="debug">
>                             <verbose/>
>                     </solution>
>         </target>
>     </project>
>
>     Note that the solution can be built successfully using Visual
>     Studio .Net 2003 on those machines and the framework 1.1
>     configuration is also set-up correctly (AFAIK). (perviously they
>     had 1.0 installed).
>
>     Is there anything special needed to run solution task under NANT ?
>
>     Thanks,
>
>     - Umesh
>




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to