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
This commit is contained in:
Robert Goulet 2015-01-29 13:38:52 -05:00 committed by Brad King
parent 4c5574a15d
commit 500794b0db
1 changed files with 2 additions and 0 deletions

View File

@ -2762,6 +2762,8 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
this->WriteString("<ApplicationTypeRevision>", 2); this->WriteString("<ApplicationTypeRevision>", 2);
(*this->BuildFileStream) << cmVS10EscapeXML(v) (*this->BuildFileStream) << cmVS10EscapeXML(v)
<< "</ApplicationTypeRevision>\n"; << "</ApplicationTypeRevision>\n";
this->WriteString("<DefaultLanguage>en-US"
"</DefaultLanguage>\n", 2);
if(v == "8.1") if(v == "8.1")
{ {
// Visual Studio 12.0 is necessary for building 8.1 apps // Visual Studio 12.0 is necessary for building 8.1 apps