It is impossible to do this, I was looking for the configuration of Visual Studio, there is no way to set the browser as the default visual studio browser. But if itβs very important for you to view it in a specific browser, you can switch the default browser application to the app.cs project file. look at these links, I hope this helps you understand how to change it in your code [WPF application only] . I looked at the project properties in Solution Explorer, you can go to the debug tab inside the Start Action, select "Run an external program", select the IE executable, then in the "Start" section of the "Clean" -Debug command line argument, then launch your application. You will see that it runs inside IE and loads the file YOUR_APP_NAME.xbap .
How to change the default browser using C #
saber source share