Targeted .NET Framework version change

Mario picture Mario · Mar 31, 2014 · Viewed 10.3k times · Source

How do I go about changing the version for the targeted version of the .NET Framework from 4.5.1 to 4.5 in Visual Studio 2012?

Answer

Chris picture Chris · Mar 31, 2014

You can usually select your desired target framework within the application properties. Your setup may be slightly different, my Visual Studio installation is using the C# development settings by default, and the example image below is from a WPF project (on the off chance yours is different).

Either right-click on your project in the Solution Explorer and select Properties->Application, or select Properties from the main toolbar in Visual Studio, and select the Application tab. You should be able to select the target framework.

enter image description here

If you can't select the particular framework you're after, the issue may be slightly different.