Changed .NET projects to target x86

Compiling the .NET projects as x64 on 64bit machines was causing problems with the unmanaged code.
This commit is contained in:
Matthew Bowra-Dean
2009-10-05 19:35:03 +13:00
parent dab99f848c
commit 8fec0f52c0
9 changed files with 80 additions and 113 deletions

View File

@@ -42,7 +42,7 @@ namespace OpenRa.TechTree
IEnumerable<Tuple<string, string, bool>> Lines(string filename, bool param)
{
Regex pattern = new Regex(@"^(\w+),([\w ]+)$");
foreach (string s in File.ReadAllLines("../../../" + filename))
foreach (string s in File.ReadAllLines("../../../../" + filename))
{
Match m = pattern.Match(s);
if (m == null || !m.Success)