Reputation:
I want to use .Net Core 3.1 SDK but Visual Studio doesn't let me use it. In the independent compenents section, I have to select .Net SDK for running the program but if I select that .Net 6.0 installing immediately. How can I convert that into 3.1?
Upvotes: 5
Views: 10041
Reputation: 11
Just choose an available framework from the dropdown, for example .NET 5.0 and in the Solution Explorer right click and Unload the project. Edit the project file (.csproj) and manually change the framework number and Save. Then right click and reload the project.
Upvotes: 1
Reputation: 112
Upvotes: 8