Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 back?

like image 592
Alex Avatar asked Mar 10 '17 09:03

Alex


People also ask

How to move Solution Explorer in Visual Studio to Left side?

Just drag and drop onto the mechanic and dock the solution explorer window to the left side of the window. You must drop the panel onto the fastener, in the position you wish it to be docked (in the case, the rectangle on the left of the fastener, highlighted with a red circle).

How to move Explorer in Visual Studio?

Click on the title bar, and drag it to the right portion of the screen. Eventually you'll see a compas like structure popup. Make sure you hover over the right area and let go of the mouse button. That will bind it to the right side.


2 Answers

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"

enter image description here

  • 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.

like image 123
Jon L Avatar answered Oct 02 '22 18:10

Jon L


Actually (in 15.8.7), it is still in the context Menu - in a sub-menu under View

enter image description here

Jon L's method will create it in the main menu as well

Alternatively, just use the shortcut - press Ctrl+Shift+W

like image 33
SholaOgundeHome Avatar answered Oct 02 '22 16:10

SholaOgundeHome