Menu

ASP.NET Core: Upgrading ASP.NET Core 1.0 RC2 Project to RTM

A month ago I’ve demonstrated how to migrate your ASP.NET 5 beta project to Core RC2. The migration from Beta to RC2 was a bit long but pretty much easy to follow, and I was able to run my prototype apps smoothly without any hiccups. Recently, ASP.NET Core RTM was out. Microsoft announced the release of ASP.NET Core 1.0 couple of days ago. Big thanks to Microsoft and to the .NET Core team for their utmost effort on making this final release. Kudus!

Let’s Get Cracking!

In this article, we’re going to look at how to upgrade our existing ASP.NET Core RC2 App to RTM in Windows environment using Visual Studio 2015.

Installation Requirements

Installing Visual Studio 2015 Update 3

Note: You may need to uninstall the RC2 bits (Update 2) before installing the RTM bits (Update 3)

You may need to close all instance of Visual Studio that is running on your machine before installing Visual Studio Update 3 (vs2015.3). Now if you are getting the following setup warning below: Figure 1: Setup Warning

Don’t panic. Just click Continue and it should bring you to the next step below: Figure 2: Features

Select the features that you would like to be included for this update and then click “Next”. Verify all the features you need in the next step and then click “Update” to start applying the changes.

You may need to wait for a few minutes or a few hours depending on your connection before it completes the upgrade. Once completed you should be able to see the following figure below: Figure 3: Setup Completed

After the installation, make sure to restart your machine to ensure updates will take effect.

Installing .NET Core 1.0.0 VS Tooling Preview 2

Now install the Tooling Preview 2 that you have just downloaded. You should see something like this as the installation progress: Figure 4: VS 2015 Tooling Preview 2 installation

Once the installation is complete then you should be able to see something like this: Figure 5: VS 2015 Tooling Preview 2 installation completed

Output

That's it! Unlike previous versions, it seems that upgrading to RTM is painless. Here's the output of my ASP.NET Core MVC app after the upgrade:

Figure 6: Output

If you are still working on Beta versions and wanted to migrate your project to RTM, then I would really recommend you on creating a fresh project instead and move your code to the new project created. That way there’s less chance for you to get migration configuration errors.

I know there are some things I haven’t covered on this article as I only basing my prototype app for this upgrade. For more details about the breaking changes, I would recommend you to visit the following references below: