部分电脑使用SqlSugarScope和SqlSugarClient的Queryable<T>()都会出现异常 返回

SqlSugar 老数据
1 919
该叫什么 wang 发布于2022/12/14
悬赏:5 飞吻

dll版本是5.1.2.2

异常信息:

Method not found: '!!0[] System.Array.Empty()'.

at SqlSugar.SqlSugarClient..ctor(List`1 configs)

   at SqlSugar.SqlSugarScope.GetThreadContext(String key)

   at SqlSugar.SqlSugarScope.GetContext()

   at SqlSugar.SqlSugarScope.get_ScopedContext()

   at SqlSugar.SqlSugarScope.Queryable[T]()


热忱回答1

  • fate sta fate sta VIP0
    2022/12/15

    统一升级最新 ,这个就一个类库下面有多个DLL ,清空解决方案,每个类库最都安装最新的sqlsugar

    0 回复