Ken,

Are you sure that the mentioned registry key exists on both machines?

I haven't checked this yet, but other users posted messages claiming that this 
registry key is not created when you installed v6.1 of the Windows SDK.

Also, can you try using the most recent nightly build of NAnt as that fixes a 
few framework-related issues.

More details on the fixes are available here:
http://nant.sourceforge.net/nightly/latest/releasenotes.html

Gert


From: Parrish, Ken 
Sent: Tuesday, October 21, 2008 11:10 PM
To: Julian Simpson ; nant-users@lists.sourceforge.net 
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5


Julian,

 

Thanks.  This was very insightful.

 

However, I have a conflict that I don't know how to resolve.

 

On the machine for which Nant Version 0.86 works with 'net-3.5' framework 
specified, I have Windows SDK Version 6.0a installed.

 

On the machine for which Nant Version 0.86 does not work with 'net-3.5' 
framework specified, I have Windows SDK Version 6.1 installed.  Supposedly this 
is the version of the framework for .NET 3.5.

 

I checked the registry key:

 

SOFTWARE\Microsoft\Microsoft SDKs\v6.0A\WinSDKNetFxTools\InstallationFolder

 

This is present on both machines and references the 6.0A or 6.1 version of the 
SDK respectively.

 

It seems counter intuitive that I should need to revert BACK to SDK Version 
6.0A from Version 6.1 in order for Nant 0.86 to operate properly.

 

Is there some reason or explanation why Nant 0.86 might NOT be compatible with 
SDK Version 6.1?  I would think that this problem manifests itself 'the other 
way 'round'.

 

Any other ideas or clues would be greatly appreciated.

 

Ken Parrish

Gomez, Inc.

 

 

 

From: Julian Simpson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 21, 2008 4:20 PM
To: Parrish, Ken
Subject: Re: [NAnt-users] MSBuild task and .NET 3.5

 

Having just spent this evening wrestling with the same issue, I can tell you 
that they come from the registry.  Have a look at this post:

 

http://www.timbarcz.com/blog/CategoryView,category,Nant.aspx

 

They don't map to environment variables and the application uses them 
extensively.

 

Jumping in late here but I presume that you'll want to install at least the 
.NET 3.5 SDK to make your build work.  I just ended up installing a Visual 
Studio 2008 and the SDK to support the project I've been working on.

 

 Best

 

Julian

 

 

 

 

On 21 Oct 2008, at 20:17, Parrish, Ken wrote:





Where or how does Nant get the value, used in Nant.exe.config, for

'sdkInstallRoot' and 'installroot' ?

 

Do these map to environment variables?  Are they required?

 

-- 

Julian Simpson

Software Build and Deployment

http://www.build-doctor.com

 

 

 



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


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/ 


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


_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to