VS2010引用第三方组建错误(具有依赖关系。请删除对不在目标框架中的程序集的引用,或考虑重新确定)
作者:PaulLeder 日期:2010-07-18
log4net has a known issue of referencing a System.Web component which is not part of the .NET Framework 4 Client Profile and the VS2010 by default sets project target to be the lightweighted Client Profile. The solution is to change the target to .NET Framework 4:
Right click project -> properties -> Application. Change:
引用内容
to be:
引用内容
... and that should work, i.e. you can use log4net again...
Right click project -> properties -> Application. Change:
引用内容 .NET Framework 4 Client Profile
to be:
引用内容 .NET Framework 4
... and that should work, i.e. you can use log4net again...
评论: 0 | 引用: 0 | 查看次数: 100
发表评论
上一篇
下一篇

文章来自:
Tags:
相关日志:






