-
Notifications
You must be signed in to change notification settings - Fork 783
Description
Originally posted at #3620 (comment) by @VagueGit .
This issue involves machine-wide shared component. You may need to reproduce it in a new VM.
I have two dev machines. One can build the preview 3 template project, one can't. The error is Can't find SDK reference Microsoft.VCLibs and Microsoft.VCLibs.Desktop.
The working machine has VS installation upgraded since 16.0. It's using electron-based VSInstaller UI.
The not working machine has VS fresh installed for 16.8 and 16.9P1. It's using WPF-based VSInstaller UI.
The newly installed machine misses unversioned Microsoft.VCLibs and Microsoft.VCLibs.Desktop here.

After trying to modify the installation, I find that C++ UWP tools workload will bring Microsoft.VCLibs.Desktop. But nothing I tried brings Microsoft.VCLibs.
This may be a VS installer issue.
Update: Repairing the VS 16.9 instance fixes this for me.