It's Spann, not spam

Technical blog to provide content that developers find useful.

Multiple Startup Projects

Multiple Startup Projects

  • Comments 2

It has occurred to me that a very useful feature of Visual Studio 2008 has gone unnoticed by some.  That feature is the ability to have multiple startup projects when you run (F5)  from Visual Studio 2008.

I was working with a gentleman that had written WCF services for a project.  I later found out that he was creating a console application to the side to test the services.  The reason was, he did not know that you could have the test client in the same project as the host and run both during debug session.

Here are the steps to enable this feature:

Suppose I have the following Solution

image

Now, I want to be able to start the host service and start the client to talk to the service.  So I go and right click on the solution and select the "Set Startup Projects..." option.

image

The following dialog pops up.

image

Select "Multiple startup projects:" radio button and change the Action to Start next to the projects you want to start.

image

Just click OK and then Run (F5).

 

Happy Coding!

  • Multiple Startup Projects in VS2008

  • IS this can also be done for Windows mobile project using VS2008.

    I have a pplication whihc have one C++ module [service] and one C# Application which.

    Can i debug both at the same time ?

Page 1 of 1 (2 items)
Leave a Comment
  • Please add 3 and 5 and type the answer here:
  • Post