预定义的类型“Microsoft.CSharp.RuntimeBinder.Binder”未定义或未导入

来源:互联网 发布:btcherry资源搜索软件 编辑:程序博客网 时间:2024/04/28 04:21

解决方法:

首先,关闭VS打开的源代码。

然后,用记事本打开专案资料夹里的 *.csproj,找到<ItemGroup>区段,

手动加入

<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />

最后,再加载就可以了。

0 0