Tag Archives: Start New Instance

Debug -> Start New Instance Shortcut

I’ve recently been giving talks on Azure Service Bus, and one of the things that became annoying was how difficult it was to launch new instances from Visual Studio.

For anyone not aware of this feature, essentially, it allows you to run multiple instances of the same Visual Studio project. The way that you do this is to right-click the project, and under the Debug menu, select Start New Instance. When you’re doing this frequently, it can get tedious.

A Solution

One way around this is to map a keyboard shortcut to the function. If you navigate to Tools -> Options in Visual Studio, you can configure shortcuts in the Keyboard menu:

Here, if you find the Start New Instance menu option, you’ll see that it doesn’t have a keyboard shortcut allocated. I picked Ctrl + Shift + F4 for mine:



Start Two Project Simultaneously

In Investigating message queues with RabbitMQ and ActiveMQ, I came across a problem that I’ve never considered before. Starting two projects at the same time.

The well-known (at least to me) way of doing this was to start the start-up project, and then right-click the second project, and select Start New Instance:


However, this is laborious when you’re constantly starting both projects. So, the alternative is to right click the solution, and select Set StartUp Projects… :


Then you can select to start multiple projects:


A small thing, but saves a lot of time.