{"id":230298,"date":"2020-08-10T08:00:01","date_gmt":"2020-08-10T15:00:01","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=230298"},"modified":"2020-08-07T09:38:23","modified_gmt":"2020-08-07T16:38:23","slug":"use-visual-studio-in-presentation-mode","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/use-visual-studio-in-presentation-mode\/","title":{"rendered":"Use Visual Studio in Presentation Mode"},"content":{"rendered":"<p>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\u2019s how Visual Studio Presentation Mode can help.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-230294\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/08\/Demo-badge-long.png\" alt=\"VS Demo badge\" width=\"1302\" height=\"311\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/08\/Demo-badge-long.png 1302w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/08\/Demo-badge-long-300x72.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/08\/Demo-badge-long-1024x245.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2020\/08\/Demo-badge-long-768x183.png 768w\" sizes=\"(max-width: 1302px) 100vw, 1302px\" \/><\/p>\n<p>When doing any type of presentation or demo, it\u2019s is crucial the audience fully understand what you\u2019re 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.<\/p>\n<p>Here are some typical barriers:<\/p>\n<ul>\n<li>Code is too small<\/li>\n<li>Text in tool windows and menus is too small<\/li>\n<li>Custom toolbar button layouts<\/li>\n<li>Extensions that change the behavior of Visual Studio<\/li>\n<li>Custom color themes<\/li>\n<\/ul>\n<p>So, to remove as many barriers as possible, we need a fresh install of Visual Studio without any customizations. Yikes!<\/p>\n<p>Or we can use Presentation Mode to open an instance of Visual Studio that looks exactly like a fresh install. Here\u2019s what you get with a Presentation Mode instance:<\/p>\n<ol>\n<li>Default settings, window layout, theme, and keyboard shortcuts<\/li>\n<li>No extensions (other than machine-wide ones)<\/li>\n<li>No settings synchronization with the <em>normal<\/em> Visual Studio instance<\/li>\n<\/ol>\n<p>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 <em>Text Editor<\/em> and 12 for the <em>Environment<\/em> or whatever value makes you happy. When you close Visual Studio these settings will be preserved for the next time you use Presentation Mode.<\/p>\n<p>There are two ways of entering Presentation Mode:<\/p>\n<h2>The easy way<\/h2>\n<p>Install the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=MadsKristensen.Tweaks\">Tweaks extension<\/a> 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.<\/p>\n<p>This makes it super easy to start a new Presentation Mode instance of Visual Studio.<\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/www.youtube.com\/watch?v=7wMJIYz9lvU&amp;list=PLReL099Y5nRc-zbaFbf0aNcIamBQujOxP&amp;index=19\" target=\"_blank\">Watch demo of Presentation Mode<\/a><\/div><\/p>\n<h2>The also somewhat pretty easy way<\/h2>\n<p>This is how the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=MadsKristensen.Tweaks\">Tweaks extension<\/a> mentioned above does it under the hood. You can do the same thing yourself if you don\u2019t want to install the extension.<\/p>\n<p>Open the Developer Command Prompt or Developer PowerShell and execute the following line:<\/p>\n<p><code>devenv \/RootSuffix <em>Demo<\/em><\/code><\/p>\n<p>You can swap the word <em>Demo<\/em> 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\u2019re working on.<\/p>\n<p>For instance, you may want certain extensions and window layouts only when doing web development. This gives you that flexibility.<\/p>\n<p><div  class=\"d-flex justify-content-center\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/www.youtube.com\/watch?v=ifdKuAiV4I4&amp;list=PLReL099Y5nRc-zbaFbf0aNcIamBQujOxP&amp;index=10\" target=\"_blank\">Watch demo of customized instances<\/a><\/div><\/p>\n<p>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 \u2013 even in older version of Visual Studio. I\u2019m curious to hear how this works for you, so let me know in the comments below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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\u2019s how [&hellip;]<\/p>\n","protected":false},"author":642,"featured_media":230295,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1388,155],"tags":[294],"class_list":["post-230298","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-extensibility","category-visual-studio","tag-extensions"],"acf":[],"blog_post_summary":"<p>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\u2019s how [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/230298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/642"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=230298"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/230298\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/230295"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=230298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=230298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=230298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}