From: Bob A. <Bob...@am...> - 2008-10-21 22:02:22
|
Do you have visual studio installed on the one that is working... and not on the one that isn't.? ________________________________ From: Parrish, Ken [mailto:KPa...@go...] Sent: Tuesday, October 21, 2008 5:10 PM To: Julian Simpson; nan...@li... 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:sim...@gm...] 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 |