2013-10-01 97 views
1

我是VS2012的新手。当我按下F5 执行项目,我得到一个错误:调试项目时未找到.NET Framework

Warning 1 The reference assemblies for framework ".NETCore,Version=v4.5" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

我已经安装了.NET Framework 4.5,我也拿起修复,但我仍然面临着这样的错误。我该如何解决这个问题?

+0

你是否已经瞄准了.NET 4.5的项目?单击项目文件,然后按Alt + Enter,然后检查它在应用程序选项卡中的含义。 –

+0

我猜你实际上是在使用Express版本,而你的版本有误。 –

回答

0

右键单击您的项目。选择“属性”并将“目标”框架更改为4.5。 enter image description here

相关问题