How to downgrade the .Net Core SDK Version?

So many times, while upgrading the .Net Core SDK to higher version, our working project will start to break due to some bugs on the latest sdk.

Step 1: Go to the project folder location and run the command

Step 2:  Type this command to know all installed .Net Core SDK

dotnet –info

Step 3: Run this command to change the sdk like this

dotnet new globaljson –sdk-version 7.0.203 –force

Now in your application you will be able to see the global.json file like this.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.