阻止 Visual Studio 2010 启动 ASP.net 开发服务器
我的解决方案中有 3 个项目。
每当我尝试在任何项目中调试单元测试时,VS2010 都会启动 3 个(每个项目 1 个)ASP.net 开发服务器。
我遇到的问题是 VS2010 需要很长时间才能启动这些开发服务器,因此我在尝试调试单元测试时花了很多时间等待。
我不确定为什么 VS2010 会这样做...有正当理由吗?有没有办法在调试单元测试时阻止这些开发服务器启动?
I have 3 projects in my solution.
Whenever I attempt to debug a unit test in any of the projects, VS2010 starts 3 (1 for each project) ASP.net development servers.
The issue I have is that VS2010 takes a long time starting these development servers and as a result I spend a lot of time waiting whilst I attempt to debug unit tests.
I am not sure why VS2010 does this... Is there a valid reason? Is there a way to prevent these development servers from starting when debugging unit tests?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不知道为什么默认情况下会这样做,但如果您的问题确实是“如何关闭它”,那么请执行以下操作:
解决方法
属性(不是属性选项卡
选择属性时您会得到
从上下文菜单)
当调试为“False”时
Not sure why it does this by default, but if your question is really "how do I turn this off", then do this:
solution
properties (not the properties tab
you get when choosing Properties
from the context menu)
When Debugging to "False"