Have you ever been giving a talk or a demonstration where you flipped from PowerPoint to Visual Studio 2010 to show some code and people at the back start making demands:
I can't read that, can you up the font? Black on White works better on the projector! What are those little lines next to your scrollbar? Can you close all the tool windows?
I have so I started keeping a separate user on my laptop called MrDemo that I used to keep my Visual Studio settings separate. That is until I found the Experimental Instance feature in Visual Studio 2010 SDK. From the link:
To safeguard your Visual Studio development environment from untested applications that might change it, the Visual Studio SDK provides an alternative Visual Studio instance that you can use to experiment. You develop new applications by using Visual Studio as usual, but you run them by using this experimental instance.
The Experimental Instance allows you to develop and test Visual Studio extensions in an isolated environment. It does this by maintaining its own collection of settings and extensions.
The Visual Studio 2010 SDK comes with a shortcut to run the experimental instance but you don't need to install the SDK to use it. Simply run the following from the VS2010 command line:
devenv.exe /RootSuffix Exp
The "Exp" root suffix is what makes this version of Visual Studio different from your normal Visual Studio install. It stores information about its settings and extensions in
on the file system and
in the registry. This means that any settings you change here will not affect the vanilla install of VS2010 on your machine and vice-versa.
Now, the "Exp" root suffix is just a convention used by the SDK tools and your probably don't want to use the Experimental Instance for demo purposes, especially if you actually do any actual VS SDK work. Instead you can create a new Instance specifically for presentations. I'm going to call this my Demo Instance.
To create the Demo Instance just start it:
devenv.exe /RootSuffix Demo
If this is the first time you are running this instance you will get the normal Choose Default Environment dialog that you get the first time you run Visual Studio after installation.
Note that there is a new checkbox asking if you would like to migrate settings from the regular Visual Studio. If you want the most basic, vanilla version of Visual Studio (and I suggest that for presentations that you do) then uncheck this box.
The settings for this new instance are stored at:
on the file system and in the registry at:
Now you can up the font, use the standard colour scheme, not use ReSharper, close all of the tool windows and still leave your normal development environment settings for day-to-day .NET-ninja work.
If you want to get rid of the Demo Instance (or reset it) you can delete the folder and the registry keys noted above and it is gone. Create a shortcut for it and say goodbye to the MrDemo user account.
No new comments are allowed on this post.