Reputation: 13955
I am running VS 15.6.1.
I have downloaded and ran the following two files:
Here's the contents of my C:\Program Files\dotnet\sdk
I created a new project as a .NET Core Class Library. But when I try to target it to Core 2.1,1, I can't:
This thread didn't help: .NET Core 2.0 missing from my Visual Studio
What am I doing wrong?
Upvotes: 2
Views: 1881
Reputation: 22800
The preceding answer works but it's not the right way to fix the problem. See The latest installed .NET SDK not found which is the MS supported answer and explains why this failed.
Upvotes: 1
Reputation: 13955
Ok, I found the answer here: Configure .NET Core to use x86 SDK
But what is not listed in that answer is the location from which you can download the x86 version of the SDK. It's here:
https://www.microsoft.com/net/download/dotnet-core/sdk-2.1.4
So here's that I did:
Upvotes: 2