How to add the view in browser option back into Visual Studio 2017 context menu?

前端 未结 3 959
时光说笑
时光说笑 2021-02-07 10:19

I\'ve just upgraded to VS 2017 and unless I\'m missing something the view in browser option on the right click menu seems to have vanished.

Anyone know how to get it bac

3条回答
  •  情书的邮戳
    2021-02-07 11:18

    I just installed Visual Studio 2017 and noticed this option was missing from the Project context menu.

    However you can right click on project files to view them in the browser.

    To add the "View in Browser" option back into the Project context menu, follow these steps:

    • Click on Tools > Customize

    • Select the "Commands" tab

    • Highlight the "Context menu" option
    • In the dropdown select "Project and Solution Context Menus | Project"

    • Click "Add Command"
    • Select the "File" category
    • In the Commands list, select "View in Browser" and press OK

    You can then position the option in the menu and the option will be available to use once again.

提交回复
热议问题