Did you select the "Desktop development with C++" workload during installation? The files are usually located in "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\<version-specific-folder>\include". Check if a new "Windows Desktop Application" in C++ can be created and compiled successfully.
visual studio 2022: missing vcruntime.h
Bostjan Vilfan
0
Reputation points
I want to build an application whose instructions state that it
needs Visual Studio 2015 or higher. So I installed the Community
version of Visual Studio 2022 (on Windows 10) and attempted the
build. The result was that cl.exe could not find the file vcruntime.h. I performed a search for this file, and it was not on my computer.
How should I fix my Visual Studio installation to get vcruntime.h to
be installed?
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
2 answers
Sort by: Most helpful
-
-
一航 袁 0 Reputation points
2025-09-27T05:45:05.67+00:00 查看是否安装了windows11 SDK 或 windows10 SDK