“Always Start When Debugging” – Preventing multiple Visual Studio Development Servers from starting

June 4th, 2010 by Kevin Rintoul

I’m working on a new feature for our client-side APIs and ran into a bit of an annoying behavior within Visual Studio. When debugging using a solution that contains multiple web applications, Visual Studio insists on starting up a development web server for each web application within your solution. After spending 10 minutes looking for a setting within Visual Studio and 15 minutes Googling around various development web sites, I came across the answer. There is a well hidden project-level property that controls this behavior.  To change it, click on the project in question within Solution Explorer.  Pull down the View menu and select Properties Window (which apparently is different from Property Pages).  The first property in the resulting list is Always Start When Debugging. Set that to False and you’re good to go.

Comments

  1. Alan Machado says:

    Thanks for this. Solved the issue and prevented the blocking which was occurring with two development servers running on my PC.
    Alan M

  2. Ralph says:

    Off-Topic!

    Are you the same person who wrote “God’s Word For Windows”? If so, is there a newer (32 bit) version?

  3. Kenneth says:

    Thank you! I always forget that projects have options in the Properties Windows, so I probably never would have found this. Thank you a hundred times over :)

  4. Kevin,

    Just writing to say thank you.

    I have done this before but had forgotten where to look at.

    Keep these short but really helpful kind of posts coming.

    All the best,

    Leniel

Leave a Reply

Trackback to your blog!