Geeks With Blogs

News This blog has moved to http://blog.danskingdom.com
Daniel Schroeder Sharing my tips and tricks to help other developers be more productive. This blog has moved to http://blog.danskingdom.com

If you have the latest version of the Visual Studio 2010 extension VSCommands you can give your solutions friendly names that display in the window’s title bar.  This is nice when you are working in different branches, so that you can differentiate which solution you are actually looking at.  I wrote the following regex to put the Branch Name after the Solution name, so for example if you have the client solution open in both Dev and Release, one will be called “Client.sln – Dev” and the other “Client.sln – Release”.

To use this, in Visual Studio go to Tools -> Options -> VSCommands 2010-> IDE Enhancements and then paste in the following (without the quotes):

Read more at http://blog.danskingdom.com/friendly-visual-studio-solution-names-for-working-with-multiple-branches/

Posted on Friday, April 29, 2011 3:06 PM | Back to top


Comments on this post: Friendly visual studio solution names for working with multiple branches

# re: Friendly visual studio solution names for working with multiple branches
Requesting Gravatar...
Great tip! Thanks!
Left by Mark A. on May 01, 2011 1:43 AM

# re: Friendly visual studio solution names for working with multiple branches
Requesting Gravatar...
Perfect! Now I only have to upgrade to VS2010...
Left by kk on May 03, 2011 9:18 AM

# re: Friendly visual studio solution names for working with multiple branches
Requesting Gravatar...
Thanks for the information, works a treat.
Left by Mike Tinson on Jan 24, 2012 5:08 AM

# re: Friendly visual studio solution names for working with multiple branches
Requesting Gravatar...
It works with the Pro version of VSCommands which is a paid version. I don't want to buy a software tool and also clutter my IDE just to have a friendly name. But your blog gave me the idea to right a small extension myself to show the branch name in the title. Thank you.
Left by MrDisappointed on Sep 20, 2012 9:53 AM

# re: Friendly visual studio solution names for working with multiple branches
Requesting Gravatar...
MrDisappointed, this feature is available and configurable in the free version of VSCommands; I don't use the paid version either (because I'm cheap, not because the tool isn't worth it ;) ). VSCommands has tons of useful helpers in it though, and is definitely worth the "clutter" of installing :)
Left by Daniel Schroeder on Sep 20, 2012 10:34 PM

# re: Friendly visual studio solution names for working with multiple branches
Requesting Gravatar...
thanks for this tips
Left by Webinfo Bangladesh on Dec 12, 2012 2:20 AM

Your comment:
 (will show your gravatar)


Copyright © deadlydog | Powered by: GeeksWithBlogs.net