Tadeusz
Tadeusz

Reputation: 6883

Can I to run several projects in one solution for debugging in VS 2010 Ultimate?

I have a solution consisting of several executable projects (formally speaking server and its clients). But start-up project is only one (server) but I need to debug and clients too. Now I start their (clients) from folder from shell explorer. Is there any solution for this?

Upvotes: 4

Views: 190

Answers (2)

jagdipa
jagdipa

Reputation: 540

I'm not sure about running all the projects at the same time, but there are two things that spring to mind:

  1. Open Visual Studio twice. Run the server from one, and the client from the other, or

  2. Continue to run the client from the shell, but attach the debugger to the client. Just go to the Debug menu, and select 'Attach to Process'.

Upvotes: 0

Random Dev
Random Dev

Reputation: 52270

Yes you have to set up your solution to start multiple solutions.

Right-Click on your solution and choose "Set StartUp Projects...".

Then in the Dialog check "Multiple startup projects" and choose the action of those you want to start to "Start" (with debuging) or "Start without debuging".

enter image description here

Click Ok - done.

Now just hit F5 and all your selected projects should fire up and run.

Upvotes: 3

Related Questions