Export (0) Print
Expand All

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

In addition to deploying the outputs of projects to a target computer, you might also want to deploy loose files such as a readme file or an HTML page. Files can be added to a deployment project from the File System Editor, from Solution Explorer, or by dragging them from Windows Explorer.

To add a file 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 File.

    NoteNote:

    You can also get to the File command by going to the Project menu, point to Add, and then click File. Choosing this command from the Project menu rather than the Action menu causes the file to be placed in the Application Folder rather than in the target folder you have selected.

  3. In the resulting Add Files dialog box, browse to the file you want to add and select it.

    NoteNote:

    Adding a file that is contained in an assembly causes the assembly to be added to your project. In a merge module project, you are prompted prior to adding the assembly.

To add a file from Solution Explorer

  1. Select a deployment project in Solution Explorer.

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

  3. In the resulting Add Files dialog box, browse to the file you want to add and select it.

    NoteNote:

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

To remove a file

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

Community Additions

Show:
© 2014 Microsoft