The Current .Net SDK does not support targeting .Net Core 2.2 Target .Net Core 2.1 or Lower

38,879

https://developercommunity.visualstudio.com/content/problem/387549/net-22-loast-afte-upgrading-to-1592.html

seems that the latest release turns off the use of preview, "Use previews of the .NET Core SDK" option under menu -> Tools -> Options -> Projects and Solutions -> .NET Core

go here to turn it back on.

Share:
38,879
Tonto
Author by

Tonto

Have a lot of interest in solutions that work.

Updated on November 29, 2020

Comments

  • Tonto
    Tonto over 3 years

    I have some projects in the preview version of .net core 2.2 preview 3. It was working fine until i updated my VS Studio Community Edition to Version 15.9.2. After that targeting .net core 2.2 preview is no longer possible. When i do dotnet --list-sdks I get a list of the SDKs installed including 2.2.100-preview3.

    SDKs Installed

    After updating VS Studio, the list now only shows VS Set Target Framework

    I have followed similar questions but could not resolve the issue. Any pointers?