Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't select .NET Framework 4.6.1 in Visual Studio Project properties

I installed .NET Framework 4.6.1 using this url: http://www.microsoft.com/en-us/download/details.aspx?id=49981

But when I open a Visual Studio (2015) Project I can't select version 4.6.1

See image:

enter image description here

Why I can't choose 4.6.1 which I installed?

like image 241
Ozkan Avatar asked Apr 21 '16 12:04

Ozkan


1 Answers

go to http://getdotnet.azurewebsites.net/target-dotnet-platforms.html https://www.microsoft.com/net/targeting

download and istall .NET Framework 4.6.1 Targeting Pack

enter image description here

I'll then recommend using an extension called Target Framework Migrator you can download it from here https://visualstudiogallery.msdn.microsoft.com/47bded90-80d8-42af-bc35-4736fdd8cd13 or get it through tools->extension and updates

Note that if you change the target framework to 4.6.1 using the dropdown in Visual Studio you may experience VS to hang for like a minute or so where using the Target Framework Migrator avoids this problem and you can upgrade all the projects in the solution at once.

Also 4.6.1 comes preinstalled with Visual Studio 2015 Update 2

Update : Make sure to install Developer Pack after .NET Framework installation as depicted in below image.

enter image description here

like image 104
Mihail Shishkov Avatar answered Nov 20 '22 03:11

Mihail Shishkov