user3953989
user3953989

Reputation: 1941

.net framework 4.5.1 missing from Visual Studio 2012

Just did a fresh rebuild of my machine.

Opening a previous project running .Net 4.5.1, it says

"The C# project is targeting .NETFramework,Version=v4.5.1, which is not installed on this machine"

Installed 4.5.2, re-installed VS, re-installed IIS, .NET, and did aspnet_iisreg -i as well.

If I create a new project, 4.5.1 is not in the list of Target Frameworks.

4.5.2 is installed on the machine and shown in the add/remove programs list.

Upvotes: 7

Views: 12189

Answers (1)

vcsjones
vcsjones

Reputation: 141678

Once you have Visual Studio 2012 installed (and all applicable updates), you need to install the 4.5.1 Multi-Targeting Pack. Once you have it installed, you'll have 4.5.1 available.

Installing 4.5.2 does not include 4.5.1 for framework targeting. If you want both 4.5.1 and 4.5.2 available as Target Frameworks, you need to install both.

Upvotes: 25

Related Questions