Visual-studio – Visual Studio – Changing DEBUG port on Solution not WebSite


I am encountering problems, where when debugging, it's using a port that I dont want it to use.

I understand that in Visual Studio, when debugging a 'web site', you can change the port used in the properties window of the project.

However, where can I specify the port used on a solution/project, since the option isn't available in the properties window for the solution OR the project?

Any help would be greatly appreciated as it's preventing me from debugging a particular solution.

Best Solution

If you're talking about the port where the VS Development Server runs your project then you can find that in the project Properties -> Web section -> Servers -> Use Visual Studio Development Server, Specific Port.