如何prevent Visual Studio的推出WcfSvcHost.exe在Debuggin?

编程入门 行业动态 更新时间:2024-10-05 09:25:29
本文介绍了如何prevent Visual Studio的推出WcfSvcHost.exe在Debuggin?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在Visual Studio 2008中有多个项目的解决方案。其中一个项目是一个WCF项目。有时候,我只是想调试等项目,但是当我preSS F5,Visual Studio中已wcfsvchost.exe发起主办的WCF项目,即使它不是启动项目。

I have a solution in Visual Studio 2008 which has multiple projects. One of the projects is a WCF project. Sometimes I just want to debug other projects, but when I press F5, Visual Studio has wcfsvchost.exe launched to host the WCF project even it is not "StartUp Project".

目前,我每次调试的其他项目的时候,我要卸载周转基金项目,以prevent烦人WcfSvcHost.exe主机弹出。然而,这并不方便。有人知道更好的主意,prevent WCF项目在调试模式下被托管?

Currently, every time I debugging other projects, I Have to Unload the WCF project to prevent the annoying WcfSvcHost.exe host pop up. However, it is not convenient. Anybody know better idea to prevent WCF project to be hosted in debugging mode?

推荐答案

进入WCF选项部分在WCF项目的属性页,并取消选中该复选框,上面写着'开始WCF服务主机调试在同一个解决方案的另一个项目时,

Go to WCF Options section in the property page of your WCF project and unselect the check box that says 'Start WCF Service Host when debugging another project in the same solution'.

更多推荐

如何prevent Visual Studio的推出WcfSvcHost.exe在Debuggin?

本文发布于:2023-11-03 04:10:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1554208.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Studio   Visual   prevent   Debuggin   exe

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!