Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and 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 OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...