Visual Studio - 配置启动项目
我有一个解决方案,其中包括一个网站、一些代码库、一个 WCF 服务和一个托管 WCF 服务的项目,该项目基本上只是一个带有 .svc 文件的 Web 应用程序。 问题是,当我运行网站时,WCF 服务和 WCF 服务都在两个不同的端口上启动。我只需要启动 WCF 服务主机,因为这就是我正在使用的主机。关于如何配置运行网站时启动哪个项目的任何想法?
I have a solution which includes a WebSite, a few Code Libraries, a WCF Service and a project that hosts the WCF service, which is basically just a web application with a .svc file in it.
The problem is that when i run the website, both the WCF Service and the WCF service start on two different ports. I would need only the WCF Service host to start, as that's the one i'm using. Any idea on how i can configure which project starts when i run the web site?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论