摘要: 1、错误背景 系统安装了.net framework4.0、4.5,项目先使用VS2013(4.5)开发,后来又重新用VS2010开发(4.0),运行时出现这个错误2、错误原因 In .Net 4.5 theExtensionAttributeclass was moved from System.Core to mscorlib. ExtensionAttribute类在4.5中从System.Core迁移到mscorlib中,项目运行时会按4.5的方法寻找导致异常。 有人会说,项目都是按4.0编译的,4.5也卸载了,为什么还会出现此问题?原因在于引用的第三方类库可能还是关联的4.5版... 阅读全文
posted @ 2014-01-21 10:59 扯 阅读(6279) 评论(1) 推荐(0) 编辑