mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
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:
@@ -2762,6 +2762,8 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
|
||||
this->WriteString("<ApplicationTypeRevision>", 2);
|
||||
(*this->BuildFileStream) << cmVS10EscapeXML(v)
|
||||
<< "</ApplicationTypeRevision>\n";
|
||||
this->WriteString("<DefaultLanguage>en-US"
|
||||
"</DefaultLanguage>\n", 2);
|
||||
if(v == "8.1")
|
||||
{
|
||||
// Visual Studio 12.0 is necessary for building 8.1 apps
|
||||
|
||||
Reference in New Issue
Block a user