The dotnet/aspnetcore repo needs the latest runtime for some tests that run in Helix. We prefer to use the InstallDotNet function for this purpose because it supports private runtime feeds and we had too much custom infrastructure around the installation already.
Unfortunately, invoking dotnet-install.ps1 extends the $env:Path default system-wide unless -noPath is on the command line. The InstallDotNet function does not current support including that command-line argument. Please either add a $noPath parameter or (more generally) support the initial $installParameters value as a parameter.
The dotnet/aspnetcore repo needs the latest runtime for some tests that run in Helix. We prefer to use the
InstallDotNetfunction for this purpose because it supports private runtime feeds and we had too much custom infrastructure around the installation already.Unfortunately, invoking dotnet-install.ps1 extends the
$env:Pathdefault system-wide unless-noPathis on the command line. TheInstallDotNetfunction does not current support including that command-line argument. Please either add a$noPathparameter or (more generally) support the initial$installParametersvalue as a parameter.