Running two projects at once in Visual Studio

[Origin]: https://stackoverflow.com/questions/3850019/running-two-projects-at-once-in-visual-studio

I created a solution in Visual C# 2010 Express that contains two projects: one is the client, the other is the server. I would like to debug both at the same time, but I can only seem to run one of the projects during debugging.

Is there a way to run both at once?

shareedit

Go to Solution properties -> Common properties -> Startup Project and select Multiple startup projects.

solution properties dialog

shareedit

Max has the best solution for when you always want to start both projects, but you can also right click a project and choose Debug > Start New Instance.

This is an option when you only occasionally need to start the second project or when you need to delay the start of the second project (maybe the server needs to get up and running before the client tries to connect, or something).

shareedit
Advertisements

11 thoughts on “Running two projects at once in Visual Studio

  1. I’m not certain where you’re getting your info, however good topic. I needs to spend some time studying much more or understanding more. Thanks for wonderful information I used to be on the lookout for this information for my mission.

  2. Wow, wonderful blog structure! How lengthy have you ever been running a blog for? you made running a blog look easy. The total look of your site is magnificent, let alone the content!

  3. I’m not certain where you’re getting your info, however good topic. I must spend a while studying much more or understanding more. Thank you for excellent info I was on the lookout for this info for my mission.

  4. I am now not sure the place you’re getting your info, but good topic. I needs to spend some time studying much more or figuring out more. Thanks for excellent information I was on the lookout for this information for my mission.

  5. I’m not certain where you’re getting your info, however great topic. I must spend a while studying more or figuring out more. Thank you for fantastic info I used to be searching for this info for my mission.

  6. Excellent weblog right here! Additionally your web site lots up fast! What web host are you the use of? Can I am getting your associate link for your host? I wish my web site loaded up as quickly as yours lol

  7. Wow, awesome blog format! How lengthy have you ever been blogging for? you made blogging look easy. The whole look of your website is wonderful, as neatly as the content!

  8. Nice blog here! Also your web site a lot up very fast! What web host are you the usage of? Can I get your affiliate hyperlink in your host? I wish my web site loaded up as fast as yours lol

  9. Thanks a lot for sharing this with all of us you actually understand what you are speaking about! Bookmarked. Please additionally visit my website =). We could have a link alternate agreement between us!

    • Hi Alex,

      You are more than welcome and I am really glad it helps! What is your website? I am looking forward to can have a link alternate between us!

      Best regards,
      Junjie Tang

  10. You can certainly see your enthusiasm within the paintings you write. The sector hopes for more passionate writers like you who are not afraid to mention how they believe. All the time go after your heart.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s