VS2017/Unity 5.6.2/Win10 SDK 15063, error MSB3774

HI , everyone
My development environment is VS2017 15.2(26430.14) + Win10 SDK 10.0.15063.400 + Unity 5.6.2f1, when i build Holograms 100 tutoral, i get these errors :
1>------ Build started: Project: Assembly-CSharp-firstpass, Configuration: Release x86 ------
1>D:\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2195,5): error MSB3774: Could not find SDK "WindowsDesktop, Version=10.0.15063.0".
1>D:\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2195,5): error MSB3774: Could not find SDK "WindowsIoT, Version=10.0.15063.0".
1>D:\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2195,5): error MSB3774: Could not find SDK "WindowsMobile, Version=10.0.15063.0".
1>D:\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2195,5): error MSB3774: Could not find SDK "WindowsTeam, Version=10.0.15063.0".

I can remove these references, the it builds ok. But when i add some Unity scripts, build with Unity again, then reload the solution with VS2017, the issue come back again。

Any idea ? Thanks.

Best Answer

  • Accepted Answer

    I fix this issue by reinstalling VS2017 & Win10 SDK to the default locations : C:\Program Files (x86)

Answers

  • Accepted Answer

    I fix this issue by reinstalling VS2017 & Win10 SDK to the default locations : C:\Program Files (x86)

  • 请问你是如何重装的,同样的问题,但是我用VSinstaller卸载后再安装问题依然存在

Sign In or Register to comment.