每当我尝试更新我的服务参考测试项目时,都缺少客户的参考。 [英] Missing Refrence Of Client Whenever I Tried To Update My Service Refrence To Test The Project.

查看:59
本文介绍了每当我尝试更新我的服务参考测试项目时,都缺少客户的参考。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我创建了一个WCF应用程序。我想对一些方法进行一些测试。所以我创建了测试方法,并添加了此服务引用。我再次改变了我的wcf项目并在测试项目中更新它。但是这次我得到了很多错误,比如缺少服务参考。所有都指向客户的参考。

这是xact错误: -



Hi guys,
I created one WCF application. i want to so some testing of some methods. So i created test methods and i added this service reference. Again i changed something in my wcf project and update it in test project. But this time i am getting so much error like missing service reference. All are pointing towards client's reference.
this is the xact error:-

The type or namespace name 'DimeClient' could not be found (are you missing a using directive or an assembly reference?)





我需要帮助。

我很感谢你的帮助。

Thanx



I need help asap.
I appreciated for ur help.
Thanx

推荐答案

更改wcf应用程序的代码后,重建wcf服务应用程序,并转到测试项目的解决方案资源管理器,右键单击您的服务引用文件夹,然后选择更新服务。重建项目并运行应用程序。
after changing the code of wcf application ,rebuild the wcf service application ,and goto solution explorer of the test project right click on your service reference folder and choose update service . rebuild the project and run the app .


这篇关于每当我尝试更新我的服务参考测试项目时,都缺少客户的参考。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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