Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using VS2019 (fully patched) and started a new ASP.Net Core (5.0) app.

I have a html file in a project in my solution (with a Build Action of "None", because it's documentation for the assembly), and the right-click context menu does not contain "View in browser". Can anybody help?

What I have tried:

I looked everywhere I could think of in VS2019, and googled it as well.
Posted
Updated 26-Oct-21 0:47am

1 solution

Does this help?
How to add the view in browser option back into Visual Studio 2017 context menu? - Stack Overflow[^]

[edit]
I just checked the instructions and they work for VS2019 on my machine (though the option is greyed for my projects).

If you do the above for the code window instead of the projects menu, you can open HTML in the browser from there - I just checked and it worked for me.
[/edit]
 
Share this answer
 
v3
Comments
#realJSOP 26-Oct-21 7:25am    
Thanks, but I didn't see it in there at all - for anything.
OriginalGriff 26-Oct-21 7:32am    
Didn't see it in the Commands setup, or didn't see it in the context menu?
#realJSOP 26-Oct-21 16:04pm    
To be honest, I didn't look that hard. I'm a little twisted over having to do it in the first place. Why can't they just leave it alone?
OriginalGriff 26-Oct-21 16:34pm    
What? :OMG:
You'll be expecting them to fix bugs next ... :laugh:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900