Add DOTNET_HOST_PATH for dotnet nuget commands
This commit is contained in:
parent
c172433ce7
commit
c7cf8a55b8
1 changed files with 6 additions and 1 deletions
|
@ -35,9 +35,14 @@ namespace Microsoft.DotNet.Tools.NuGet
|
|||
public int Run(string[] args)
|
||||
{
|
||||
var nugetApp = new NuGetForwardingApp(args);
|
||||
|
||||
nugetApp.WithEnvironmentVariable("DOTNET_HOST_PATH", GetDotnetPath());
|
||||
return nugetApp.Execute();
|
||||
}
|
||||
}
|
||||
|
||||
private static string GetDotnetPath()
|
||||
{
|
||||
return new Muxer().MuxerPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue