dotnet / dotnet/sdk

Allow easy switching of SDK versions from `dotnetup`

Open
#51,579 3 comments 0 reactions 0 assignees View on GitHub
Area-dotnetup
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

`dotnetup` should support easily switching between .NET SDKs on a per-session basis:

```shell
> dotnetup use 8.0.403
> dotnet --version
8.0.403
```

This feature enables easy side-by-side testing of SDKs in a way that doesn't permanently impact the users' workspace - for example for side-by-side testing of an experience like `dotnet watch` across diferent SDK releases.

There should also be a way to _persist_ that change permanently to a global.json:

```shell
> dotnetup use 8.0.403
> dotnet --version
8.0.403
> dotnetup use 8.0.403 --save
Wrote SDK version 8.0.403 to ./global.json
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.