Selecting profiles with multiple startup projects

6.2k Views Asked by At

I have a VS 2017 solution that I have 3 separate MVC Core 2.0 web projects. Each project has the same three profiles setup to run. When I select any one of the 3 sites as the startup project I get an option to select which profile I want to run. The problem I have is when I select all three as Multiple Startup Projects I no longer have the option to select which profile to run. How would I go about setting this up so I can debug all 3 sites and select which profile I want to run as?

Thanks

2

There are 2 best solutions below

1
user1041169 On BEST ANSWER

I ended up finding this great extension called SwitchStartupProject that was exactly what I was looking for.It creates a file that you can highly customize. It is pretty simple and has a good wiki to help you get up and running.

SwitchStartupProject fro VS 2017

4
Slamma009 On

I'm a little late to this, but I was having the same issue; it turns out the solution is rather simple.

Visual Studio doesn't show you this in anyway, but when starting multiple projects it will actually run the last profile you had selected.

So all you have to do is go to each project as a single start up project, select the profile, and then switch to multiple startup projects.

Hope that helps!