[ nant-Bugs-2005430 ] Fails when target net-3.5 (No NET SDK 3.5 and No VS)

View: New views
1 Messages — Rating Filter:   Alert me  

[ nant-Bugs-2005430 ] Fails when target net-3.5 (No NET SDK 3.5 and No VS)

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2005430, was opened at 2008-06-29 00:50
Message generated for change (Comment added) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2005430&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Framework support
Group: 0.86
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: DSDon (dsdon)
>Assigned to: Gert Driesen (drieseng)
Summary: Fails when target net-3.5 (No NET SDK 3.5 and No VS)

Initial Comment:
Running on Windows Server 2003. Visual Studio 2008 and .Net 3.5 SDK are not installed. The .Net 3.5 Framework is installed. Previously running .85 targeting .Net 2.0 without problems. Installed .86 Beta 1 and got the following error:

-----------------
nant -t:net-3.5
NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)
Copyright (C) 2001-2007 Gerry Shaw
http://nant.sourceforge.net


BUILD FAILED

Failed to initialize the 'Microsoft .NET Framework 2.0' (net-2.0) target framework.

    Property evaluation failed.
Expression: ${path::combine(sdkInstallRoot, 'bin')}
                            ^^^^^^^^^^^^^^

        Property 'sdkInstallRoot' has not been set.

For more information regarding the cause of the build failure, run the build again in debug mode.

Try 'nant -help' for more information
-----------------

I ended up removing the sdkDirectory attribute from the net-2.0 and net-3.5 framework elements in the NAnt.exe.config file:

sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}"

We don't use the sdk in our build so this seems to be working OK for us. If there is a better solution, please let me know.

Thanks


----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2008-06-29 10:32

Message:
Logged In: YES
user_id=707851
Originator: NO

This issue was fixed since. Please try using the latest nightly build, or
wait for the next beta.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2005430&group_id=31650

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
nant-developers mailing list
nant-developers@...
https://lists.sourceforge.net/lists/listinfo/nant-developers