C# Tips

C# Tip Article

VS 2017 - The current .NET SDK does not support targeting .NET Core 2.1

Problem

I downloaded an ASP.NET Core 2.1 project. When I opened the project with VS 2017 v15.0, I ran into the following error.
"The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.1."

Solution

To fix it, I did update my Visual Studio 2017 from v15.0 to v15.9.