Search code examples
asp.net.netvisual-studiosdk

How can I use old version of .Net in Visual Studio 2022?


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?


Solution

    • Open Visual studio installer from start menu
    • Select Modify from Visual Studio that you want to add
    • In individual components select .net core or framework that you want to add to your visual studio version

    image 1

    image 2