Microsoft KB Archive/834486

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

Article ID: 834486

Article Last Modified on 5/11/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * 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.



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

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

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

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

Notice that Primary output from  appears under your Setup project.

Note  is a placeholder for the project that is added to the output of your Setup project.</li></ol> </li></ol>

<div class="references_section">