I've run into it.
 
From what I've been able to figure out, NAnt looks in the registry to find the location of the SDK. But apparently the keys in the registry are different depending on whether the SDK was installed as part of a VS.NET installation or standalone.
 
Look in your nant.exe.config file for the following section:
 
                    <project>
                        <readregistry
                            property="installRoot"
                            key="SOFTWARE\Microsoft\.NETFramework\InstallRoot"
                            hive="LocalMachine" />
                        <readregistry
                            property="sdkInstallRoot"
                            key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv1.1"
                            hive="LocalMachine"
                            failonerror="false" />
                    </project>
Make sure that the registry keys it is looking for are present. I forget what exactly the differences were that we found.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jaimie
Sent: Monday, December 13, 2004 9:47 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Solution Task Error

I’m getting the following error when using the solution task on my build machine.

 

“The SDK for the ‘net-1.1” framework in not available or not configured.”

 

The problem is that I have installed the SDK.  After I got the message I installed it again.

Has anyone else run into this problem before?

 

-Jaimie

Reply via email to