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?
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".
Click Ok - done.
Now just hit F5 and all your selected projects should fire up and run.
I'm not sure about running all the projects at the same time, but there are two things that spring to mind:
Open Visual Studio twice. Run the server from one, and the client from the other, or
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'.
精彩评论