Udostępnij za pośrednictwem


How to: Add and Remove Project Outputs in the File System Editor

Deployment projects allow you to specify where the outputs of one or more projects in your solution will be deployed on a target computer. Outputs can be added to a deployment project from the File System Editor or directly from Solution Explorer.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Working with Settings.

To add a project output from the File System Editor

  1. Select a target folder in the File System Editor.

  2. On the Action menu, point to Add, and then click Project Output.

    Note

    The Project Output command is also available from the Project menu. Choosing this command from the Project menu rather than the Action menu causes the project outputs to be placed in the Application Folder rather than in the target folder you have selected.

  3. In the resulting Add Project Output Group dialog box, select a project from the Project list.

  4. Choose the type of output from the outputs list. You can select multiple outputs from the list.

    Note

    The types of outputs available are dependent on the type of project selected. Some projects have multiple types of outputs; others might have only one.

  5. Optionally, choose a different configuration from the Configuration list.

To add a project output from Solution Explorer

  1. Select a deployment project in Solution Explorer.

  2. On the Project menu, point to Add, and then click Project Output.

  3. In the resulting Add Project Output Group dialog box, select a project from the Project list.

  4. Choose the type of output from the outputs list. You can select multiple outputs from the list.

    Note

    The types of outputs available are dependent on the type of project selected. Some projects have multiple types of outputs; others may have only one.

  5. Optionally, choose a different configuration from the Configuration list.

    Note

    Project outputs added from Solution Explorer are always placed in the Application Folder in the File System Editor. If you want to place outputs in a different folder, you must add them from the File System Editor as described above.

To remove a project output

  • Select the project output in the File System Editor, and choose Delete from the Edit menu.

See Also

Tasks

How to: Add and Remove Files in the File System Editor

How to: Add and Remove Shortcuts in the File System Editor

How to: Add and Remove Assemblies in the File System Editor

Other Resources

Deployment Editors

File Installation Management in Deployment

Deployment Tasks and Walkthroughs