-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find SDK "Microsoft.VCLibs.Desktop, Version=14.0". #837
Comments
I've just built the latest gate tip with the latest VS2017 without issue. Can you provide screenshots showing what the Visual Studio Installer shows as installed? If you run "git status" from the command line in the source directory, does it show any changes? Have you tried creating a new repository clone? |
Just an FYI @SwimmingTiger -- v142 requires v141, but this dependency is hidden from you and is automatically installed. I'd imagine v141 may have a dependency on parts of v140. So installing VS 2015 is not the correct interpretation here. |
See also #565. |
@binarycrusader I have the same components as you in VS2017, except IntelliTrace (the community version does not have this feature, this should not matter). I also installed the same components as #565 in VS2019, but I still have this error. |
Eventually I solved the problem by "Repair" my VS2017. I noticed that a new directory This repair also solved the same build problem in VS2019 (I didn't repair VS2019, just repaired VS2017). I guess these files are shared components of all Visual Studio and were corrupted when I uninstalled VS2017 (at that time, I just wanted to keep VS2019) and were not reinstalled correctly after I reinstalled VS2017. |
Your Windows build number
Windows 10 version 1903 build 18895.1000
What you're doing and what's happening
Got this error:
Error MSB3774 Could not find SDK "Microsoft.VCLibs.Desktop, Version=14.0". OpenConsolePackage C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\DesktopBridge\Microsoft.DesktopBridge.targets 266
I have exhausted all possible solutions:
What's wrong / what should be happening instead
Why does a VS2017 (v141) project require VCLibs 14.0 (v140)? And the error message points to the file from Visual Studio itself. I think this is beyond my understanding.
Wish a Visual Studio expert will tell me what happened.
I think this is a problem specific to this project. I can build a UWP Demo project normally. I can also build the earlier commits (58ec472 and earlier).
The text was updated successfully, but these errors were encountered: