Udostępnij za pośrednictwem


How to: Choose the Startup Project

This topic applies to:

Edition

Visual Basic

C#

F#

C++

Web Developer

Express

Topic applies Topic applies Topic applies Topic applies Topic applies

Pro, Premium, and Ultimate

Topic applies Topic applies Topic applies

Topic applies

Topic applies

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 then 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 then 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

Other Resources

How to: Start Execution