如何禁用 WCF 测试客户端 - VS 2012 [英] How to disable WCF Test Client - VS 2012

查看:31
本文介绍了如何禁用 WCF 测试客户端 - VS 2012的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个新的 WCF 服务应用程序,当我按 F5 进行调试时,WCF 测试客户端总是出现,但我想禁用它,因为我使用的是soapUI 进行测试.

I have a new WCF Service Application, when I hit F5 to debug, the WCF Test Client always comes up, but I would like to disable it since I am using soapUI to test instead.

我在这里尝试了答案 - https://stackoverflow.com/a/8441887/903056 但是这个 XMLnode 不再在 VS 2012 的项目文件中.我自己也尝试了其他一些事情,例如更改默认开始页面并尝试强制调试以启动浏览器会话.

I have tried the answer here - https://stackoverflow.com/a/8441887/903056 but this XML node is no longer in the project file for VS 2012. I have tried several other things myself as well, such as changing default start page and trying to force debug to start a browser session instead.

推荐答案

我找到了一个合理的解决方法.我所做的只是向项目添加一个空的 html 页面,然后在解决方案资源管理器中右键单击 html 文件并选择 Set As Start Page.调试会话开始,但它不会转到 WCF TestClient.不优雅但有效.

I found a reasonable work around. All I did was add an empty html page to the project, then right clicked on the html file in Solution Explorer and chose Set As Start Page. A debug session starts but it doesn't go to the WCF TestClient. Not elegant but works.

这篇关于如何禁用 WCF 测试客户端 - VS 2012的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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