首页 > 其他 > 详细

The type 'System.Object' is defined in an assembly that is not referenced

时间:2018-10-29 12:16:51      阅读:493      评论:0      收藏:0      [点我收藏+]
记录一个错误,报 The type ‘System.Object‘ is defined in an assembly that is not referenced,[System.Runtime]

 

配置文件加上后仍报错! 

<system.web>

    <compilation debug="true" targetFramework="4.5">
      <assemblies>
        <add assembly="System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
      </assemblies>
    </compilation> 
  </system.web>

 

解决方法:移除Bin System.ValueTyple.dll rebuild成功。
 

The type 'System.Object' is defined in an assembly that is not referenced

原文:https://www.cnblogs.com/dmyao/p/9869920.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!