Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to run multiple projects in visual studio simultaneously

I am trying to get my main project and my API to run along side each other in Visual Studio 2015. The method that usually works is: start my main project, then right-click on API project, go to Debug, select Start New Instance. But that doesn't always work. It sometimes crashes on me with an exception saying: "Value cannot be null. Parameter name: httpContext".

What is the proper procedure for running more than one project at once from the same Visual Studio instance?

like image 514
gib65 Avatar asked Jul 17 '17 19:07

gib65


1 Answers

Assuming that both your projects are in the same solution: right click the Solution, click "Set Startup Projects", then select "Multiple Startup Projects" and indicate the ones you want to start when you click "Run".

Good luck!

like image 77
Ckratide Avatar answered Nov 15 '22 09:11

Ckratide