我写的是控制台程序

是在引用我自己写的库 和 Microsoft.Practices.EnterpriseLibrary 时出现的问题

经过分析,和百度 找到了修改方法

 

打开  项目属性-->应用程序-->目标框架-->修改为.NET Framework 4。

不知道为啥我的设置是.NET Framework 4 Client Profile  

以下是MSDN给出的提示:

If you are targeting the .NET Framework 4 Client Profile, you cannot reference an assembly that is not in the .NET Framework 4 Client Profile. Instead you must target the .NET Framework 4.

 

 

相关文章:

  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-20
  • 2021-08-10
  • 2022-12-23
  • 2021-07-27
  • 2021-10-20
  • 2021-09-16
相关资源
相似解决方案