Skip to content
Permalink
Browse files

MSVC: Fix compilation on Windows SDK 8.1

  • Loading branch information
SupSuper committed Mar 26, 2020
1 parent 069e423 commit 260bcdd648d71aa0eb56be42b853bd0753742be7
Showing with 3 additions and 1 deletion.
  1. +3 −1 devtools/create_project/msbuild.cpp
@@ -275,8 +275,10 @@ void MSBuildProvider::outputProjectSettings(std::ofstream &project, const std::s
"\t\t<ClCompile>\n";

// Language Extensions
if (setup.devTools || setup.tests || name == setup.projectName || enableLanguageExtensions)
if (setup.devTools || setup.tests || name == setup.projectName || enableLanguageExtensions) {
project << "\t\t\t<DisableLanguageExtensions>false</DisableLanguageExtensions>\n";
project << "\t\t\t<ConformanceMode>false</ConformanceMode>\n"; // Required for Windows SDK 8.1
}

// Edit and Continue
if ((name == setup.projectName || disableEditAndContinue) && !isRelease)

0 comments on commit 260bcdd

Please sign in to comment.
You can’t perform that action at this time.