Setting Startup Projects
You can select which project or projects within a solution will be the first built, debugged, and deployed Visual Studio, and be run first when a solution is deployed.
To set a single startup project
This is useful if you want just one project to be the first built, debugged, and deployed.
- In Solution Explorer, select the desired startup project within your solution.
- On the Project menu, choose Set as StartUp Project.
To set multiple startup projects
This is useful if you want several projects to be the first built, debugged, and deployed.
- In Solution Explorer, select your solution.
- On the View menu, choose Property Pages.
The Solution Property Pages dialog box opens.
- Select Common Properties, and choose Startup Project.
The Startup Project properties for your solution are displayed.
- Select the Multiple Startup Project option.
- Click the Action for each startup project, and from the drop-down list of options, choose Start or Start without debugging (if you do not wish to run the debugger on startup).
- To change the order in which projects will be opened, debugged, and run, select projects, and click Move Up or Move Down.
- Click OK to save these settings.
Startup Project, Common Properties, Solution Property Pages Dialog Box | Editing Common Properties for Solutions | Build Configurations | Managing Solutions, Projects, and Files | Edit Project Configurations Dialog Box | Project Dependencies, Common Properties, Solution Property Pages Dialog Box | Deploying Applications | Source Control Basics