Index: tools/gn/visual_studio_writer.cc |
diff --git a/tools/gn/visual_studio_writer.cc b/tools/gn/visual_studio_writer.cc |
index aa01d8217a6bcee876b3291c456efe7bb886910a..a498fb9f18a8c14eff0f8bad8f4603aa5814980e 100644 |
--- a/tools/gn/visual_studio_writer.cc |
+++ b/tools/gn/visual_studio_writer.cc |
@@ -435,6 +435,8 @@ bool VisualStudioWriter::WriteProjectFileContents( |
globals->SubElement("RootNamespace")->Text(target->label().name()); |
globals->SubElement("IgnoreWarnCompileDuplicatedFilename")->Text("true"); |
globals->SubElement("PreferredToolArchitecture")->Text("x64"); |
+ globals->SubElement("WindowsTargetPlatformVersion") |
+ ->Text(kWindowsKitsIncludeVersion); |
} |
project.SubElement( |