项目是 vs2019 搭建的 .net core 3.1 项目,.net standard 2.0 类库中使用如下代码

1 dynamic result = new ExpandoObject();
2 result.code = "000";

代码报错:缺少编译器要求的成员“Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create”

解决方案:通过NuGet安装 Microsoft.CSharp

相关文章:

  • 2021-12-17
  • 2021-09-17
  • 2022-02-07
  • 2021-12-31
  • 2022-01-07
  • 2022-12-23
  • 2022-01-01
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-10-03
  • 2022-12-23
  • 2021-11-07
相关资源
相似解决方案