Selection of multiple project outputs is not supported for Setup projects in Visual Studio 2005 or in Visual Studio .NET (834486)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

When you create a Setup project by using Microsoft Visual Studio 2005 or Microsoft Visual Studio .NET, selection of the project outputs of multiple projects that are part of the solution is not supported.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the behavior

  1. Create a Setup project:
    1. Start Visual Studio 2005 or Visual Studio .NET.
    2. On the File menu, point to New, and then click Project. The New Project dialog box appears.
    3. Under Project Types, click Setup and Deployment Projects.

      Note In Visual Studio 2005, click Other Project Types, and then click Setup and Deployment.
    4. Under Templates, click Setup Project, and then click OK. By default, the Setup1 project is added to the solution.

      Note Setup1 is a placeholder for the name of your Setup project.
  2. Add a project to your Setup project:
    1. In Solution Explorer, click the solution.
    2. On the File menu, point to Add Project, and then click New Project. The Add New Project dialog box appears.
    3. Under Project Types, click Visual Basic Projects.

      Note In Visual Studio 2005, Visual Basic Projects is changed to Visual Basic.
    4. Under Templates, click Windows Application, and then click OK. By default, the WindowsApplication1 project is added to the solution.
    5. Repeat steps a through d to add another project to your Setup project.
  3. Set the project output:
    1. In Solution Explorer, click your Setup project.
    2. On the Project menu, point to Add, and then click Project Output. The Add Project Output Group dialog box appears.
    3. In the Project drop-down list box, click any project, and then click OK.

      Notice that Primary output from ProjectAdded appears under your Setup project.

      Note ProjectAdded is a placeholder for the project that is added to the output of your Setup project.

Modification Type:MajorLast Reviewed:2/3/2006
Keywords:kbvs2005swept kbvs2005applies kbsetup kbprb KB834486 kbAudDeveloper