Changing project port number in Visual Studio 2013

前端 未结 8 1833
别那么骄傲
别那么骄傲 2020-11-27 17:28

How can I change the project port number in Visual Studio 2013 ?
I\'m using ASP.Net and I need to change the port number while debugging in Visual Studio 2013.

8条回答
  •  野性不改
    2020-11-27 18:01

    Well, I simply could not find this (for me) mythical "Use dynamic ports" option. I have post screenshots.

    On a more constructive note, I believe that the port numbers are to be found in the solution file AND CRUCIALLY cross referenced against the IIS Express config file

    C:\Users\\Documents\IISExpress\config\applicationhost.config
    

    I tried editing the port number in just the solution file but strange things happened. I propose (no time yet) that it needs a consistent edit across both the solution file and the config file.

提交回复
热议问题