![](/img/trans.png)
[英]Cannot serialize member System.ComponentModel.MarshalByValueComponent.Site of type System.ComponentModel.ISite because it is an interface
[英]cannot find type system.componentmodel.marshalbyvaluecomponent in module
我正在使用VS2012 Premium创建适用于Windows 8的Windows应用商店应用。
在代码的任何特定行中都没有错误,但是当我构建代码时,出现了以下错误:
“在模块System.dll中找不到类型System.ComponentModel.MarshalByValueComponent”
它没有确切指出错误的位置。
我正在使用Windows Store应用程序(VS 2015,UWP),并且在收到相同消息时正在尝试一些工具。 我尝试不做任何维修。 接下来,我卸载了以前添加的一些工具/参考。 做到了。 我意识到这可能不会对OP有所帮助,因为该问题是两年前发布的,但希望其他人可以从中受益。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.