System.ComponentModel.MarshalByValueComponent在未被引用 解决方法
类型“System.ComponentModel.MarshalByValueComponent”在未被引用的程序集中定义。必须添加对程序集“System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”的引用。添加 System引用就行了
右击项目属性,.net下面,先对其排序,再找到System?将其引用到项目中。
?
记住是两个地方 一个是项目一个是文件中