error MSB3086: Task could not find "sgen.exe" using the SdkToolsPath
Any ideas?
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2249,9): warning MSB3084: Task attempted to find "sgen.exe" in two locations. 1) Under the "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin" processor specific directory which is generated based on SdkToolsPath 2) The x86 specific directory under "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin" which is specified by the SDKToolsPath property. You may be able to solve the problem by doing one of the following: 1) Set the "SDKToolsPath" property to the location of the Microsoft Windows SDK. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2249,9): error MSB3086: Task could not find "sgen.exe" using the SdkToolsPath "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin" 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
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
1 Posted by auspicious on 26 Jan, 2011 03:36 AM
Some instructions for settings that need to change on these images:
http://stackoverflow.com/questions/2731365/running-msbuild-fails-to...
Support Staff 2 Posted by friism on 26 Jan, 2011 04:22 AM
Hi nariman
We would like to keep our build-servers as "stock" as possible and not install or configure extra sdks.
Try adding
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>to both<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">and<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">sections of your .csprojLet me know if this doesn't resolve your issue.
friism closed this discussion on 26 Jan, 2011 04:22 AM.
rune re-opened this discussion on 03 Feb, 2011 10:13 PM
Support Staff 3 Posted by rune on 03 Feb, 2011 10:13 PM
Hi,
the problem with a missing sgen.exe file is now fixed so you should be able to build your project now (if you didn't figure a workaround).
Best regards,
Rune
rune closed this discussion on 03 Feb, 2011 10:13 PM.