Migration Guide to the .NET Framework 4.6 and 4.5

.NET Framework (current version)

If you created your app using an earlier version of the .NET Framework, you can generally upgrade it to the .NET Framework 4.5 and its point releases (4.5.1 and 4.5.2) or the .NET Framework 4.6 and its point releases (4.6.1 and 4.6.2) easily. Open your project in Visual Studio. If your project was created in an earlier version, the Project Compatibility dialog box automatically opens. For more information about upgrading a project in Visual Studio 2015, see Porting, Migrating, and Upgrading Visual Studio Projects and Visual Studio 2015 Compatibility.

However, some changes in the .NET Framework require changes to your code. You may also want to take advantage of functionality that is new in the .NET Framework 4.5 and its point releases, or in the .NET Framework 4.6 and its point releases. Making these types of changes to your app for a new version of the .NET Framework is typically referred to as migration. If your app doesn't have to be migrated, you can run it in the .NET Framework 4.5 or later versions without recompiling it.

Review the following documents before you migrate your app from earlier versions of the .NET Framework to version 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, or 4.6.2: