Click here to Skip to main content
13,295,987 members (55,086 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


1 bookmarked
Posted 10 Aug 2010

How to setup multiple startup projects in Visual Studio ?

, 10 Aug 2010
Rate this:
Please Sign up or sign in to vote.
Small tips of Visual Studio where you will get to know how you can launch multiple projects at the same time.

In this blog post, I am going to describe small tips of Visual Studio where you will get to know how you can launch multiple projects at the same time. This is quite useful when you are working on a solution which has multiple project types and you want to run a few of them at the same time.

Let’s assume you have a frontend application which developed using WPF and in the backend you are calling a WCF Service. Now to test the application, you need both of them in the running stage. By default, Visual Studio project Setup type sets to “Single Startup Project”. If you set any of the projects as "Start up”, then that project will start when you run the application. So after that, you need to run the second project also. Below is the Project setup window where you can find all the settings related to the project start up. You can open that window by right clicking on “Solution” > “Properties” > “Common Properties” > “Startup Project”.

8-11-2010 2-33-47 AM

Now, if you look at the above picture, you will find that we have three options for project setup.

  1. Current Selection: This selection will automatically select the project as startup whenever you will click on the project.

    Current Selection

  2. Single Startup Project: This is the default setup for Visual Studio where the first created project will be set as startup. If you want to change the startup project, just right click on the project and select “Set as Startup Project” or Open the properties windows and select the project from the dropdown window of “Single startup project” as shown in the below picture:

    single1 single2

  3. Multiple Startup Project: For the above two options, you can run only one project at a time. So if you want to run multiple applications at the same time, you can change the setting from Multiple project setup section. Using multiple startup project settings, you can set the multiple startup project from the “Action Tab”.


So if you set both of the project actions “Start” and run the application, both of these projects will run. So you do not need to rework to start the different project again.

I hope this post will help you and save your time from the next time. :)

Thanks !


Shout it

Filed under: General, My Articles, Visual Studio, Visual Studio 2010


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Abhijit Jana
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband

Blog :
Web Site :
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide

You may also be interested in...


Comments and Discussions

GeneralMy vote of 5 Pin
KunalChowdhury11-Aug-10 0:02
mentorKunalChowdhury11-Aug-10 0:02 
GeneralRe: My vote of 5 Pin
Abhijit Jana6-Sep-10 9:07
mvpAbhijit Jana6-Sep-10 9:07 
QuestionRe: My vote of 5 Pin
PrajaktPatil5-Jun-11 23:34
memberPrajaktPatil5-Jun-11 23:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171207.1 | Last Updated 10 Aug 2010
Article Copyright 2010 by Abhijit Jana
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid