Visual Studio 2010 在固定端口中调试

发布于 2024-09-03 08:07:25 字数 49 浏览 3 评论 0原文

是否可以为 Visual Studio 2010 调试 Web 服务器选择固定端口?

Is it possible to choose a fixed port for the Visual Studio 2010 debug webserver?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

第几種人 2024-09-10 08:07:25

如果与 VS2008 类似,可以执行以下操作来修复端口号:

  1. 在解决方案资源管理器中单击网站项目节点
  2. F4 打开属性工具窗口
  3. 将“使用动态端口”设置为false
  4. 将“端口号”设置为您需要的任何内容

If it's similar to VS2008, you can do the following to fix the port number:

  1. Click on the web site project node in Solution Explorer
  2. Hit F4 to bring up the properties tool window
  3. Set "Use dynamic ports" to false
  4. Set "Port number" to whatever you need
世界和平 2024-09-10 08:07:25

应作为选项出现在 Web 项目属性的“Web”选项卡中。默认情况下,其设置为自动分配,但有一个选项可以设置特定端口。

Should appear as an option in the web project properties, 'Web' tab. By default its set to auto-assign but theres an option to set a specific port.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文