diff --git a/OpenRA.Game/FileFormats/IniFile.cs b/OpenRA.Game/FileFormats/IniFile.cs
index ee21695592..91b11cff63 100644
--- a/OpenRA.Game/FileFormats/IniFile.cs
+++ b/OpenRA.Game/FileFormats/IniFile.cs
@@ -81,8 +81,8 @@ namespace OpenRA.FileFormats
var eq = line.IndexOf('=');
if (eq >= 0)
{
- key = line.Substring(0, eq);
- value = line.Substring(eq + 1, line.Length - eq - 1);
+ key = line.Substring(0, eq).Trim();
+ value = line.Substring(eq + 1, line.Length - eq - 1).Trim();
}
if (currentSection == null)
diff --git a/OpenRA.Mods.TS/OpenRA.Mods.TS.csproj b/OpenRA.Mods.TS/OpenRA.Mods.TS.csproj
index dd7a34f4fb..406af22135 100644
--- a/OpenRA.Mods.TS/OpenRA.Mods.TS.csproj
+++ b/OpenRA.Mods.TS/OpenRA.Mods.TS.csproj
@@ -61,6 +61,7 @@
+