diff options
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/msbuild.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp index 485e8b4252..ba4833eeb6 100644 --- a/devtools/create_project/msbuild.cpp +++ b/devtools/create_project/msbuild.cpp @@ -190,8 +190,8 @@ void MSBuildProvider::createProjectFile(const std::string &name, const std::stri project << "\t</ItemGroup>\n"; } - // Visual Studio 2015 automatically imports natvis files that are part of the project - if (name == PROJECT_NAME && _version == 14) { + // Visual Studio 2015 and up automatically import natvis files that are part of the project + if (name == PROJECT_NAME && _version >= 14) { project << "\t<ItemGroup>\n"; project << "\t\t<None Include=\"" << setup.srcDir << "/devtools/create_project/scripts/scummvm.natvis\" />\n"; project << "\t</ItemGroup>\n"; |