Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio to always open web site instead of editor's web page

When I edit .aspx or .cshtml file in the Visual Studio and press Ctrl-F5 (run), it runs the current file in the browser. How do I make it to avoid this and always open the app's site URL instead?

like image 307
queen3 Avatar asked Jan 21 '23 02:01

queen3


1 Answers

Right-click on your web project, pick properties, go to the 'web' tab, and under 'start action', select 'start URL' and fill in the URL you want to use.

like image 138
Jonathan Rupp Avatar answered May 25 '23 18:05

Jonathan Rupp