From 500794b0db3d7dfa121069f336b69923839bada1 Mon Sep 17 00:00:00 2001 From: Robert Goulet Date: Thu, 29 Jan 2015 13:38:52 -0500 Subject: [PATCH] VS: Set default language in generated Windows Phone and Store projects Otherwise building such projects gives: warning APPX1901: The DefaultLanguage property is either missing from the project file or does not have a value --- Source/cmVisualStudio10TargetGenerator.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index d6b87b8b1..a286049cb 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2762,6 +2762,8 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings() this->WriteString("", 2); (*this->BuildFileStream) << cmVS10EscapeXML(v) << "\n"; + this->WriteString("en-US" + "\n", 2); if(v == "8.1") { // Visual Studio 12.0 is necessary for building 8.1 apps