1. 程式人生 > >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

wrap 移除 ace add consola -s 4.0 key defined

記錄一個錯誤,報 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