Use Visual Studio in Presentation Mode

Mads Kristensen

Have you ever seen a presentation using Visual Studio, but had a hard time seeing the too-small fonts in the editor, Solution Explorer and menu system? How about all the custom extensions and themes the presenter used, making it harder to figure out what exactly was going on? Perhaps you were the presenter? Here’s how Visual Studio Presentation Mode can help.

VS Demo badge

When doing any type of presentation or demo, it’s is crucial the audience fully understand what you’re presenting. If there are barriers to make that harder, then your presentation is not going to be as effective as it otherwise could have been. Customizations that differs from the default Visual Studio behaviors that your audience are already familiar with often cause confusion too.

Here are some typical barriers:

  • Code is too small
  • Text in tool windows and menus is too small
  • Custom toolbar button layouts
  • Extensions that change the behavior of Visual Studio
  • Custom color themes

So, to remove as many barriers as possible, we need a fresh install of Visual Studio without any customizations. Yikes!

Or we can use Presentation Mode to open an instance of Visual Studio that looks exactly like a fresh install. Here’s what you get with a Presentation Mode instance:

  1. Default settings, window layout, theme, and keyboard shortcuts
  2. No extensions (other than machine-wide ones)
  3. No settings synchronization with the normal Visual Studio instance

You can then customize any settings to configure Visual Studio for your demo or workspace. For example, change the font sizes to 18 for the Text Editor and 12 for the Environment or whatever value makes you happy. When you close Visual Studio these settings will be preserved for the next time you use Presentation Mode.

There are two ways of entering Presentation Mode:

The easy way

Install the Tweaks extension and open any solution, project, or file in Visual Studio. That ensures that the extension fully initializes. Now you can right-click the Visual Studio icon in the Windows task bar to open in Presentation Mode.

This makes it super easy to start a new Presentation Mode instance of Visual Studio.

The also somewhat pretty easy way

This is how the Tweaks extension mentioned above does it under the hood. You can do the same thing yourself if you don’t want to install the extension.

Open the Developer Command Prompt or Developer PowerShell and execute the following line:

devenv /RootSuffix Demo

You can swap the word Demo with whatever other word you want to create yet another isolated instance type. That might be useful for situations where you want different customizations depending on what type of project you’re working on.

For instance, you may want certain extensions and window layouts only when doing web development. This gives you that flexibility.

Having the ability to isolate Visual Studio for various development scenarios and demo purposes is quite powerful. They are also easy to create and well supported – even in older version of Visual Studio. I’m curious to hear how this works for you, so let me know in the comments below.