Visual Studio Extension – SwitchStartupProject

2
July 12, 2014 // tools, visualstudio

I have a Visual Studio solution that includes several different potential startup projects, and I find myself frequently switching between them the hard way through the solution explorer.  It is enough of an irritant that I started developing a new capability into CodeMaid to provide a quick way to switch between startup project(s).  I made it about a third of the way in (Card 171) when I discovered something fantastic..

Somebody else had already done it!  Even better than writing code to solve one of your problems is finding someone else who has done it for you! 😉

Behold SwitchStartupProject, a free Visual Studio extension by Andreas Bilger.

How to get it?

Simply search for “SwitchStartupProject” under Visual Studio’s Tools->Extensions and Updates.  Or here’s a direct link.

How does it work?

In the Visual Studio toolbar you’ll see a new drop down that lists the current startup project.

Toolbar

Toolbar

You can open the drop down and see all of the projects in the solution and choose a different startup project.

Dropdown

Dropdown

Well that’s nice, but do I really need to see my unit test projects and other projects that can’t really be started?  Well lets drop down to Configure…

Mode

Mode

Smart mode sounds good, and it does just what you would expect – limits the list to the right kind of project types that can be started.

Dropdown Filtered

Dropdown Filtered

Excellent.  Now I also like to set multiple startup projects at once (e.g. a client project and a server project).  What have you got for me there?  Back to the configuration options where we can setup profiles that contain more than one startup project.

Multiple Projects

Multiple Projects

Now our defined profile(s) will appear as an option in the dropdown menu.

Dropdown Multiple

Dropdown Multiple

How active is it?

Well, he beat me by a week to publishing a VS14 CTP compatible version.. so lets call it very active. 😉  To check out the source and more head to the project home here: https://bitbucket.org/thirteen/switchstartupproject/

Summary

This plugin is exactly what I had in mind to build.  My gratitude to Andreas Bilger for building this excellent little tool so now I don’t have to and I can keep coding away on other features. 🙂  I’ve just started playing with it so if you have any comments or experience with it, please sound off below.

About the author

Steve Cadwallader is a software developer who geeks out on user interfaces, clean code and making things easier.

2 Comments

  1. Thanks for the nice article! 🙂
    I’m glad you find it useful.

Leave a Comment