目标.NET Framework版本更改 [英] Targeted .NET Framework version change
问题描述
如何在Visual Studio 2012中将.NET Framework的目标版本的版本从4.5.1更改为4.5?
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?
推荐答案
通常,您可以在应用程序属性中选择所需的目标框架.您的设置可能会略有不同,默认情况下,我的Visual Studio安装使用的是C#开发设置,下面的示例图像来自WPF
项目(可能会有所不同).
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).
右键单击Solution Explorer
中的项目,然后选择Properties
-> Application
,或者从Visual Studio的主工具栏中选择Properties
,然后选择Application
选项卡.您应该能够选择目标框架.
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.
如果您无法选择要使用的特定框架,则问题可能会有所不同.
If you can't select the particular framework you're after, the issue may be slightly different.
这篇关于目标.NET Framework版本更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!