Hey everyone,
I saw this posted in various places but never saw the fix to my issue posted.
I upgraded to the latest nightly build and still had no luck. Upon doing more
research I found that the registry key read wasn't correct for our build server:
<readregistry
property="sdkInstallRoot"
key="SOFTWARE\Microsoft\Microsoft
SDKs\Windows\v6.0A\WinSDKNetFxTools\InstallationFolder"
hive="LocalMachine"
failonerror="false" />
The issue is that I could not seem to be able to download version 6.0A... I
could find both 6.0 and 6.1 on Microsoft's site but not 6.0A. So I pointed my
registry to v6.1 and that fixed the issue I was having which was:
The SDK for the 'net-3.5' framework is not available or not configured.
So that my existing machines with VS2008 with 6.0A would still work, I simply
added the following as a "failover"
<readregistry
property="sdkInstallRoot"
key="SOFTWARE\Microsoft\Microsoft
SDKs\Windows\v6.0A\WinSDKNetFxTools\InstallationFolder"
hive="LocalMachine"
failonerror="false" />
<!-failover to 6.1 if 6.0A was not found -->
<readregistry if="${not property::exists('sdkInstallRoot')}"
property="sdkInstallRoot"
key="SOFTWARE\Microsoft\Microsoft
SDKs\Windows\v6.1\WinSDKNetFxTools\InstallationFolder"
hive="LocalMachine"
failonerror="false" />
Thanks,
Aaron Elder
Partner, Chief CRM Architect - National CRM Practice
ascentium
-------------------------------------------------------------------------
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-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users