question

ZeidShubailat-7595 avatar image
0 Votes"
ZeidShubailat-7595 asked XingyuZhao-MSFT commented

Managing Installed Runtimes and SDKs on system

Running dotnet sdk check I see many versions of sdks and runtimes. Some I can't find when I got to add/remove programs. I'm trying to understand how to manage them. For example: I see that there's 5.0.7 runtime that needs a Patch which is listed as 5.0.8 yet I have 5.0.8 installed.

What process should one follow to have a "healthy" system

116982-image.png


dotnet-runtime
image.png (199.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ZeidShubailat-7595 ,
Hope the following documents are helpful to your question.

  1. Select the .NET version to use

  2. global.json overview


0 Votes 0 ·

1 Answer

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered

In your case you are missing the latest 3.1.* patch. You should install it. You really only need the lastest patch for each x.x version you use.

For example 2.1 will reach end of support next month. You should really migrate your code off of it to a later version.

To delete extra versions see

https://docs.microsoft.com/en-us/dotnet/core/install/remove-runtime-sdk-versions?pivots=os-windows

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.