Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

debugging - Visual Studio 2010 debug in a fixed port

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.6k users

...