-2

I changed my Windows and when I installed Visual Studio 2017 again and opened my project, I realized I needed to install the ASP.NET Core 2.2 software development kit so that Visual Studio 2017 could read my ASP.NET Core code.

I installed the software development kit, but nothing changed at all - can anyone please help me?

I have installed all the software development kits of ASP.NET Core 2.2 and they can be seen on my C: drive.

this is what I get

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
kawmy
  • 45
  • 1
  • 10
  • Possible duplicate of [.NET Core 2.2 Can't be Selected In Visual Studio Build Framework](https://stackoverflow.com/questions/53329290/net-core-2-2-cant-be-selected-in-visual-studio-build-framework) – Lex Li Oct 12 '19 at 04:32
  • Did you restart VS after installing the asp.net core 2.2 sdk?And did you install the correct version of sdk?For 64 bit operating system,you need to install x64:https://dotnet.microsoft.com/download/thank-you/dotnet-sdk-2.2.402-windows-x64-installer For 32 bit,you need to install x86:https://dotnet.microsoft.com/download/thank-you/dotnet-sdk-2.2.402-windows-x86-installer – Rena Oct 14 '19 at 04:27

2 Answers2

2

Open visual studio installer and goto ASP.NET Web Development and check SDK core 2.2 for automatically install ASP .NET Core 2.2. If you need to install manually than Click for ASP .NET Core Runtime and Click for ASP .NET Core SDK.

Ishan Patel
  • 222
  • 1
  • 6
0

Go to this page https://dotnet.microsoft.com/download/dotnet-core/2.2 and download the version 2.2.7. It works with Visual Studio 2017. For some reason you need to click through the readmes and end up here https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2.7/2.2.7-download.md. Then half-way down the page there is a link to the 64 bit (probably what you want) and 32 bit (probably not what you want ) Windows SDK installer. This seems a bit involved but they are all Microsoft sites. Remember to restart Visual Studio after installing.

In general, you can always find what you need to download by going to dot.net (clever, no?) and following the thread of information there.

Good luck.

GlennSills
  • 3,977
  • 26
  • 28