Fixed il2cpu.exe install bug

This commit is contained in:
MyvarHD 2014-12-29 18:52:45 +02:00
parent 890631162a
commit 76002f74e4
2 changed files with 5 additions and 3 deletions

View file

@ -176,7 +176,7 @@ namespace Cosmos.Build.MSBuild {
}
return base.ExecuteTool(WorkingDir,
Path.Combine(CosmosBuildDir, @"IL2CPU\IL2CPU.exe"),
Arguments.TrimEnd(' '),
Arguments,
"IL2CPU");
// return mTask.Execute();

View file

@ -23,10 +23,12 @@ namespace IL2CPU
private static void Main(string[] args)
{
var tmp = "";
foreach (var s in args)
{
tmp += s;
string[] s1 = s.Split(':');
string argID = s1[0].ToLower();
if (argID != "References".ToLower())
@ -40,7 +42,7 @@ namespace IL2CPU
}
}
File.WriteAllText("C:\\Users\\Emile\\Desktop\\dump.txt",tmp);
try
{
var xTask = new IL2CPUTask();