JRS
JRS

Reputation: 773

How do I make Visual Studio 2022 use chrome

I have created a new Angular with .NET Core application using Visual Studio 2022, version 17.8. I have specified Chrome as my default browser, here:

enter image description here

But whenever I debug, it starts up Edge for both the client and the server projects.

Can anyone tell me how to get Visual Studio to open these projects in Chrome?

Upvotes: 3

Views: 1188

Answers (1)

JRS
JRS

Reputation: 773

I don't know why the setting in the screenshot does not have the expected effect, but I found that I could change the default browser for each individual project by:

  1. Choosing the individual project to be the ONLY startup project (instead of starting multiple projects); then

  2. Choosing the browser from what will then replace the "Start" button.

After doing this, I could then go back to the solution and select multiple startup projects, and they used the individually configured settings.

Upvotes: 1

Related Questions