VS 2008 debugger: How does it decide what Cassini port to run a web service under?

前端 未结 3 1448
予麋鹿
予麋鹿 2021-01-24 19:10

I have a VS 2008 solution that includes a web site and a web service. I\'m developing both at once, and it\'s helpful to be able to debug from one into the other.

It occ

3条回答
  •  执笔经年
    2021-01-24 19:53

    I stumbled across this today when I was lookign for a solution... As stated above you can open the solution with notepad. Look for the line:

    VWDPort = "55071"
    

    and change the port number to what you would like. Save the file. If you have the solution open you should be prompted to reload. If not restart VS and you should be good to go. I don't know if there is an option in VS, but this was an easy hack for me.

提交回复
热议问题