Gopal
Gopal

Reputation: 816

How to upgrade .net framework 4.5 to .net framework 4.6?

I have existing .Net project. The project targeting .net framework 4.6. But i have .net framework 4.5 version in my machine. I downloaded 4.6 version and installed then restarted . Now the project not loading. Please suggest your solution.

Upvotes: 1

Views: 14393

Answers (2)

Carlos Moya
Carlos Moya

Reputation: 189

I was facing the same issue because I was trying to install a nuget package which requires the 4.6.1 version at least (Mine was 4.5.2), so I right clicked to the project and selected the properties option and change the Target Framework as shown in the image and that was enough! Keep in mind that you have to install previously the Net. Framework you are trying to upgrade.

change the framework version

Upvotes: 2

sameer
sameer

Reputation: 17

To migrate on next version of .net framework require changes to your code.In case, your app doesn't have to be migrated, you can run it in the .NET Framework 4.5 or later versions without recompiling it. for more help visit :Migration Guide to the .NET Framework 4.6 and 4.5

Upvotes: 1

Related Questions