Setting a StartUp Project
When a solution contains multiple projects, one project must be designated as the StartUp project. Code in the StartUp project will be executed first when the solution is run. By default, the first project added to a solution is the StartUp project.
To set the StartUp project
Select the project in the Project Explorer.
Choose Set as StartUp Project from the Project menu.