title: How to integrate windows sdk with msbuild of dotnet framework v4.0.30319 in windows 2003 server?
body: <p>I have a <strong>continuous integration server</strong> (windows 2003) where i build the source codes before deployment. When one of my <strong>source code developed with dotnet framework 4.0</strong> was build using the <strong>msbuild available in the the dotnet framework v4.0.30319</strong> it shows the following error:</p>
  
  <pre><code>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets (2249,9):
  
  errorMSB3086: Task could not find "sgen.exe" using the SdkToolsPath "" or the registry key        "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed
  </code></pre>
  
  <p>When i searched for this error i got few suggestions:</p>
  
  <pre><code>   1.Install visual studio 2010 (can't do this as it is not a development environment)
     2.create the simillar sdk folder structure as in local machine in the server and make necessary registry confihurations (a bit complex, is it?)
     3. Install sdk component seperatly (Is this a suitable option?).
  </code></pre>
  
  <p>Is it possible to get the sdk if i upgrade the framework? If so how do i upgrade the frame work to get the latest msbuild version?  </p>