diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index d2f6ffd88..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
@@ -2796,12 +2798,12 @@ void cmVisualStudio10TargetGenerator::WriteApplicationTypeSettings()
if(isAppContainer)
{
this->WriteString("true"
- "", 2);
+ "\n", 2);
}
else if (this->Platform == "ARM")
{
this->WriteString("true"
- "", 2);
+ "\n", 2);
}
}