Skip to content

Support -noPath in InstallDotNet function #6060

@dougbu

Description

@dougbu

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions