Many of you might have been developing applications in Net Core 2.0 version, as that was the main release with lots of features. But did you know that the next big release has already happened with some additional features in Net Core journey? Have you already migrated your applications to Dot Net Core 2.1.x version already? If you haven’t, no worries, here in this post, we are going to cover talk about how we can migrate/update our applications to the new version of .NET Core. I hope you will like this article.
As I said, this post is only going to cover the steps you may have to take to update your existing Dot Net Core application to 2.1.x. And I will be not be talking about what is Dot net core? And why dot net core is important? etc, if you have those queries in your mind, I strongly recommend you to read the Microsoft document here.
We will be creating a .NET Core 2.0 application first, and then we will update the same to 2.1.x version. Sounds good?
.Net Core 2.0 to 2.1.x Let’s create a .net core 2.0 applicationAs usual open your favorite IDE, Visual Studio 2017, Click on File -> New Project.

As you can see, ASP.NET Core version is 2.0.
You can even check the version in your application properties.

Now, let’s run our application and see the output.

As a first step, to work with Dot net core 2.1 you need to update your IDE. There are a couple of ways you can update your IDE, but the easiest way is to go check the Notifications panel. Let’s see how to do that.
Go to the View tab and click on Notifications.

Now, you can see all the notifications here as shown in the below image. I always update my Visual Studio whenever there is an update, so you won’t be able to see that notification here on my panel. If you haven’t updated, and if you check the Notifications panel, I am sure you will get a link to the update here. You will be able to do further.






Preet SVPosted Jul 8, 2021, 3:59 AM
Thanks ,that was a real help. :)
Val Van DammePosted Aug 13, 2018, 1:15 PM
Thank you very much. It help me a lot :)
Hadshana KamalanathanPosted Jul 19, 2018, 5:43 AM
Thanks for sharing
Saurabh NachankarPosted May 28, 2018, 7:34 AM
** ERROR WHILE TRYING TO UPDATE ** The current .NET SDK does not support targeting .NET Core 2.1. target .NET Core 2.0 or lower or use a vs of the .NET SDK that support NET Core 2.1