更新到 vs2017 15.2 后找不到 C 头文件

can't find C headers after updating to vs2017 15.2

我把我的VS2017更新到15.2社区版,但是现在之前在VS2017中实际开发的项目现在不能编译,它找不到任何c头文件,我不能使用c++对应的{ c* }因为我不得不让它在一些非常老的编译器上编译,比如 Turbo C++,当我准备好它们在老的编译器上编译时,我想尽可能少地改变

来自 MSDN 论坛的

This discussion 阐明了此事。我将引用其中一个答案:

The C runtime has become a OS component and its headers and libraries are now part of the Windows SDK instead of VC++. I don't have a machine with VS2015 handy to check the exact paths but search for them in C:\Program Files (x86)\Windows Kits. If you can't find there then something went wrong during VS install.

您可以从 Microsoft 找到一些详细信息 in this announce

第 "Building Software using the Universal CRT" 节指出:

Previously, all of the CRT headers, sources, and libraries were distributed as part of the Visual C++ SDK, installed in the VC subdirectory of your Visual Studio installation (generally C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC). The files for the VCRuntime are still part of the Visual C++ SDK. The headers, sources, and libraries are now distributed as part of a separate Universal CRT SDK. This SDK is included with Visual Studio; it is installed by default to C:\Program Files (x86)\Windows Kits.