In Visual Studio 2017, run the "view in Browser" command, studio2017.
Somehow, after Visual Studio 2017 is installed, the "view in Browser" command in the right-click menu of all Web projects disappears and the website can only be started in debug mode.
Finally, the solution to the same problem is found on Stackoverflow: add the command back through the custom menu.
1. Right-click the toolbar and select "Custom ":
2. In the pop-up window, select the "command" tab. Select "context menu" and select "project and solution context menu | project | View" from the drop-down list on the right ". Click "add Command" in the lower right corner ":
3. In the "add command" window, select "file" in the left-side category, find the "view in Browser" command on the right side, and click "OK:
4. The command appears in the menu, and you can drag it to the change order:
5. Close the window to take effect. You can see that the website project has recovered the familiar command ~
Address: http://stackoverflow.com/questions/42714590/how-to-add-the-view-in-browser-option-back-into-visual-studio-2017-context-menu
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.