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