I got same problem with a project porting from Visual Studio 2013 to Visual Studio 2017.
Fix: change Properties → General → Windows SDK Version to 10
More Related Contents:
- Visual Studio 2017 errors on standard headers
- C99 stdint.h header and MS Visual Studio
- How to enable C++17 compiling in Visual Studio?
- Non-const reference bound to temporary, Visual Studio bug?
- How to Detect if I’m Compiling Code with a particular Visual Studio version?
- How to set up Google C++ Testing Framework (gtest) with Visual Studio 2005
- How to display a dynamically allocated array in the Visual Studio debugger?
- Remove secure warnings (_CRT_SECURE_NO_WARNINGS) from projects by default in Visual Studio
- How can I fix the Microsoft Visual Studio error: “package did not load correctly”?
- Convert CString to const char*
- How do I input variables using cin without creating a new line?
- #define NOMINMAX using std::min/max
- Why did Microsoft abandon long double data type? [closed]
- “The system cannot find the file specified” when running C++ program
- visual c++: #include files from other projects in the same solution
- How to avoid precompiled headers
- How do I use a third-party DLL file in Visual Studio C++?
- How to get a Windows symbol server set up
- srand(time(NULL)) generating similar results [duplicate]
- How to get a list of video capture devices (web cameras) on windows? (C++)
- Increase stack size in c++
- What is the difference between the /Ox and /O2 compiler options?
- How do I build boost with new Visual Studio 2013 preview?
- Can’t get visual studio C++ include file ‘excpt.h’ to get installed
- Aligning static string literals
- Disabling Warnings generated via _CRT_SECURE_NO_DEPRECATE
- Inspecting STL containers in Visual Studio debugging
- Differences between running an executable with Visual Studio debugger vs without debugger
- Why can’t Visual Studio find my DLL? [duplicate]
- Enable a single warning in Visual Studio