Merge pull request #1487 from Sridhar-MS/cli-x86

Fixes in corehost for building x86 arch.
This commit is contained in:
Sridhar Periyasamy 2016-02-19 12:06:50 -08:00
commit 856a077bd1
3 changed files with 14 additions and 3 deletions

View file

@ -199,6 +199,10 @@ namespace Microsoft.DotNet.Cli.Build
}
}
// dotnet.exe is from stage0. But we must be using the newly built corehost in stage1
File.Delete(Path.Combine(binDir, $"dotnet{Constants.ExeSuffix}"));
File.Copy(Path.Combine(binDir, $"corehost{Constants.ExeSuffix}"), Path.Combine(binDir, $"dotnet{Constants.ExeSuffix}"));
// Crossgen Roslyn
var result = Crossgen(c, binDir);
if (!result.Success)