Setting Static Port for a web project in Visual Studio

11 Sep

Problem:

When adding a reference to a web project using Cassini server, its a problem if each time it launches the browser in a new port.

Solution:

Hit the f4 key when mousing over the web project. Change the setting set dynamic ports to false and pick a port number

You are done. Every time you say start with debugging the server will launch the URL on the same port

Powered by ScribeFire.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.