Remove setting of DOTNET_HOME during compile
This commit is contained in:
parent
c7e9139fa6
commit
50e7a8b71a
2 changed files with 0 additions and 7 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue