Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试更新服务参考时出现以下错误 -
我在很多地方都阅读了指南,我们应该只签到Reference.cs。但我也检查了其他 ServiceReference 文件(如 wsdl、xsd 等)。
Reference.cs
这可能是导致 UpdateService 引用失败的原因吗?
听起来您在项目中定位了错误的框架,或者您需要完全删除服务引用并重新添加它而不是尝试更新。
检查此链接
http://connect.microsoft.com/VisualStudio/feedback/details/542789/could-not-resolve-mscorlib-for-target-framework-netframework-version-v4-0-this-can-happen-if-the-目标框架未安装或如果框架名称格式不正确
祝你好运