Evgeni Nabokov
Evgeni Nabokov

Reputation: 2571

Visual Studio 2012: different color themes for different projects

I have two Visual Studio instances with two opened "the same" projects. The difference is the projects are from different branches. Is there a way to make Visual Studio instances' appearance different from each other depends on project? There are plenty posts about Color Theme Editor extension, but it changes theme for all instances.

Upvotes: 25

Views: 5969

Answers (3)

haku
haku

Reputation: 4505

I wanted to share an extension that did the trick for me. I tried this in VS2015.

The extension name is: SolutionColor

All I wanted was some visual distinction between my Main and Dev branch when both are opened at a same time. With this extension I could set the title of VS to a specific color and that was plenty for me!

Upvotes: 5

Rob Meyer
Rob Meyer

Reputation: 71

One option is to launch visual studio from the command line (or custom shortcuts) with the /rootsuffix argument. This forces VS to create a fresh node in the registry for all your VS settings, and on subsequent runs, with the settings saved under the provided node.

For example, I have two enlistments on a single machine, and I can open two instances of VS as follows: d:\source\green> devenv /rootsuffix green d:\source\red> devenv /rootsuffix red

One downside of this option is you will have to reconfigure all your preferences (font/colors, document formatting, symbol settings, addons and extensions, etc.) I recommend launching the default VS instance and exporting all your preferences (tools > import and export settings) to an xml file so you can import them from each of your new devenv nodes. You'll still need to manually reconfigure some other things, mainly addons.

As for customizing VS theme colors for each rootsuffix, I recommend Visual Studio 2013 Color Theme Editor (https://visualstudiogallery.msdn.microsoft.com/9e08e5d3-6eb4-4e73-a045-6ea2a5cbdabe?SRC=VSIDE). As mentioned above, you'll need to install this once for each rootsuffix you create since extension information is stored on a per-rootsuffix basis in the registry.

Upvotes: 7

user503386
user503386

Reputation: 1108

Have you tried VSCommands extension from Visual Studio Gallerty ? It has feature called Solution Badges which may help you.

Solution Badges

Upvotes: 8

Related Questions