locked
Task failed because "sgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. RRS feed

  • Question

  • User466034024 posted

    Hi

    I am getting this error when I am trying to build in release version. My machine is windows 7 and I am using VS2008 SP1.
    I have already installed latest SDK for windows 7 .NET 3.5.

    The error showing is the following

    Error 1 Task failed because "sgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "sgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.  2) Install Visual Studio 2008.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. SalesAdaptersVS2008


    Could anybody please help me to solve this issue?
    Any help would be greatly appreciated.


    Warm Regards
    Swapna

    Friday, February 19, 2010 1:22 PM

Answers