Udostępnij za pośrednictwem


How to: Choose the Startup Project

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic applies Topic applies Topic applies Topic applies

Standard

Topic applies Topic applies

Topic applies

Topic applies

Pro and Team

Topic applies Topic applies

Topic applies

Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

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