diff --git a/OpenRa.FileFormats/IniFile.cs b/OpenRa.FileFormats/IniFile.cs
index f359098709..cb9234035c 100644
--- a/OpenRa.FileFormats/IniFile.cs
+++ b/OpenRa.FileFormats/IniFile.cs
@@ -22,7 +22,7 @@ namespace OpenRa.FileFormats
}
}
- Regex sectionPattern = new Regex( @"\[([^]]*)\]" );
+ Regex sectionPattern = new Regex( @"^\[([^]]*)\]" );
Regex entryPattern = new Regex( @"([^=;]+)=([^;]*)" );
bool ProcessSection( string line )
@@ -40,6 +40,9 @@ namespace OpenRa.FileFormats
bool ProcessEntry( string line )
{
+ if (string.IsNullOrEmpty(line) || line.StartsWith(";"))
+ return false;
+
Match m = entryPattern.Match( line );
if( m == null || !m.Success )
return false;
diff --git a/OpenRa.Game/OpenRa.Game.csproj b/OpenRa.Game/OpenRa.Game.csproj
index 0e9c6c1c3d..ef7ae6b0aa 100644
--- a/OpenRa.Game/OpenRa.Game.csproj
+++ b/OpenRa.Game/OpenRa.Game.csproj
@@ -2,7 +2,7 @@
Debug
AnyCPU
- 8.0.50727
+ 9.0.21022
2.0
{0DFB103F-2962-400F-8C6D-E2C28CCBA633}
WinExe
@@ -14,6 +14,21 @@
2.0
+ publish\
+ true
+ Disk
+ false
+ Foreground
+ 7
+ Days
+ false
+ false
+ true
+ 0
+ 1.0.0.%2a
+ false
+ false
+ true
true
@@ -24,6 +39,7 @@
prompt
4
false
+ true
pdbonly
@@ -109,6 +125,23 @@
OpenRa.TechTree
+
+
+ False
+ .NET Framework 2.0 %28x86%29
+ true
+
+
+ False
+ .NET Framework 3.0 %28x86%29
+ false
+
+
+ False
+ .NET Framework 3.5
+ false
+
+