After the installation of vs2017, we can’t find the source files such as windows. H, stdio. H, etc

1. Problem description:
After the Visual Studio 2017 installation is complete, the source code prompts:
“Could not find source Windows.h”
“Could not find source file stdio.h”
“Could not find source file tchar.h”
The error code is as follows:

2. Causes of the problem:
The Windows 10 SDK for Desktop C++ [x86 and x64] (10.0.16299.0) module was omitted during the installation of VS2017.

3. Problem solving:
(1) Open VisualStudio Installer and click Modify in VisualStudio Installer.
(2) Select a single component;
(3) Check “Windows 10SDK (10.0.16299.0) for Desktop C++ [x86 and x64]” module, check this module will automatically add “Windows 10SDK (10.0.16299.0) for UWP(C ++)” and “Windows 10SDK (10.0.16299.0) for UWP(C#, VB, JS)” module;
(4) Finally click the Modify button to add these modules. Problem solved.

4. The operation process is as follows:






Read More: