I am working on asp.net core 2.2.I am using visual studio 2017.When i create the .net core web application, then interface gives an error,that current sdk does not supported targeting .net core 2.2? And when i go to project properties, then there is not targeting framework .net core 2.2 in targeting framework lists?
Install .NET Core 2.2 SDK from here.
Note, as per Kirk's and Marc's comments, you probably need to use v2.2.106.
I found the working solution for this problem here
All credit to Vijay Ramakrishnan
Issue details: 2.1.6xx & 2.2.2xx version of the sdks are only supported on Visual Studio 2019. VS 2017 needs 2.1.5xx & 2.2.1xx versions of the sdk.
How to fix the issue? Install 2.1.5xx version of the SDK if you are targetting a 2.1 app Install 2.2.1xx version of the SDK if you are targetting a 2.2 app.
You can get the install links from here - https://dotnet.microsoft.com/download/dotnet-core/2.2
Hope this helps!
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