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:
parent
4c5574a15d
commit
500794b0db
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue