Compartir a través de


How to: Choose the Startup Project 

The startup project is the project in a Visual Studio solution that starts when you choose an execution command such as Start from the Debug menu.

To choose a startup project

  1. In Solution Explorer, right-click a project name, and on the shortcut menu, click Set as StartUp Project.

  2. If you want to debug more than one project, you can choose multiple startup projects.

To choose multiple startup projects

  1. In Solution Explorer, right-click the solution name, and on the shortcut menu, click Properties.

    The Solution Property Pages dialog box appears.

  2. In the Solution Property Pages dialog box, select the Multiple Startup Projects option.

  3. Below Multiple Startup Projects is a grid with two columns, Project and Action. In the action column:

    1. For each project you want to debug, click the Action column, and select Start.

    2. For a project you want to run without debugging, click the Action column, and select Start without debugging.

    3. For a project you do not want to run, click the Action column, and select None.

  4. Click OK.

See Also

Tasks

How to: Start Execution