Could not find SDK "Microsoft.VCLibs.Desktop, Version=14.0". #1139

Open
opened 2026-01-30 22:17:26 +00:00 by claunia · 0 comments
Owner

Originally created by @SwimmingTiger on GitHub (May 15, 2019).

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:

  • Build with VS2017 (the same error)
  • Build with VS2019 Preview 3 (the same error)
  • Retarget platform toolset to v142 (the same error)
  • Install any components that may be missing (the same error)
  • Install the VS2015 platform toolset (v140) (the same error)
  • Switch system language from Chinese to English (the same error)
  • Switch system code page to UTF-8 (beta) (the same error)
  • Switch system code page to English-US (the same error)
  • Clone and rebuild many times (the same error)
  • Modify any possible version settings (the same error)

Screenshot (1)

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 (58ec47236d and earlier).

Screenshot (2)

Originally created by @SwimmingTiger on GitHub (May 15, 2019). ### 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: * Build with VS2017 (the same error) * Build with VS2019 Preview 3 (the same error) * Retarget platform toolset to v142 (the same error) * Install any components that may be missing (the same error) * Install the VS2015 platform toolset (v140) (the same error) * Switch system language from Chinese to English (the same error) * Switch system code page to UTF-8 (beta) (the same error) * Switch system code page to English-US (the same error) * Clone and rebuild many times (the same error) * Modify any possible version settings (the same error) ![Screenshot (1)](https://user-images.githubusercontent.com/4986069/57814239-a69b1000-77a5-11e9-9019-5e26565d2078.png) ### 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 (https://github.com/microsoft/Terminal/commit/58ec47236df349e1ed65d47478773035736e36b5 and earlier). ![Screenshot (2)](https://user-images.githubusercontent.com/4986069/57814874-adc31d80-77a7-11e9-87e5-e1427b202d4c.png)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1139