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


记录一个错误,报 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成功。
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM