Wcf更新服务引用不再生成数据协定的类型 [英] Wcf update service reference no longer generating types for data contracts

查看:78
本文介绍了Wcf更新服务引用不再生成数据协定的类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的wcf服务工作正常..直到现在。

我想更新我的服务,但结果却是一场灾难。

更新后,我的所有操作合同和数据成员都不可见。

即使配置文件中缺少服务端点。

什么可能是问题?我烦了。什么是解决方案?

我尝试了所有可能的解决方案,我可以从网上获得并无济于事。

我甚至尝试删除服务并重新创建服务,但结果却一样。




我尝试过的事情:



删除服务引用并重新创建它。

删除bin文件夹并重建解决方案。

清理并重建所有。

My wcf service was working properly.. UNTIL NOW.
I wanted to update my service but i turned out to be a disaster.
After the update all my operation contracts and data members are not visible.
Even the config file the service end points were missing.
What could be the problem? I am frustrated. What would be the solution?
I tried with all possible solutions i could get from the net and to no avail.
I tried even deleting the service and recreating the service , but ended up the same.


What I have tried:

Deleting the service reference and recreating it again.
Deleting the bin folder and rebuilding the solution.
Clean and rebuild all.

推荐答案

删除并重新创建项目.....

再次创建服务参考...

这是唯一可能的我可以尝试的解决方案..
Delete and recreate the project.....
Create the service reference once again...
This is the only possible solution that i could try..


这篇关于Wcf更新服务引用不再生成数据协定的类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆