Remove setting of DOTNET_HOME during compile

This commit is contained in:
David Fowler 2016-02-15 10:22:47 -08:00
parent c7e9139fa6
commit 50e7a8b71a
2 changed files with 0 additions and 7 deletions

View file

@ -20,11 +20,6 @@ namespace Microsoft.DotNet.Cli.Build
BinPath = binPath;
}
public void SetDotNetHome()
{
Environment.SetEnvironmentVariable("DOTNET_HOME", Path.GetDirectoryName(BinPath));
}
public Command Exec(string command, params string[] args)
{
return Command.Create(Path.Combine(BinPath, $"dotnet{Constants.ExeSuffix}"), Enumerable.Concat(new[] { command }, args));