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.
After updating VS Studio, the list now only shows
I have followed similar questions but could not resolve the issue. Any pointers?
NET SDK version, you also need to set the option to enable previews in Visual Studio. Go to Tools > Options > Environment > Preview Features, and make sure that Use previews of the . NET Core SDK is checked.
The software development kit (SDK) includes everything you need to build and run . NET Core applications, using command-line tools and any editor (like Visual Studio). The runtime includes everything you need to run . NET Core applications.
You can see both the SDK versions and runtime versions with the command dotnet --info .
In Visual Studio select Analyze and then Portability Analyzer Settings. In the General Settings window, select . NET Standard 2.0 under Target Platforms, and then choose OK.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With