Export (0) Print
Expand All

Add, link to, or remove an existing item from a project

You can use the following procedures to add XAML files, code files, XML files, DLL files, and any asset files such as images, audio clips, video clips, 3D objects, and so on.

  1. On the Project menu, click Add Existing Item.

  2. In the Add Existing Item dialog box, browse to the location of the item that you want to add to the current project, select that item, and then click Open. A copy of the item will be added to your project folder and will appear under Files in the Projects panel within the current project.

  • From Windows Explorer or the Desktop, drag items under Files in the Project panel. A copy of the item will be added to your project folder and will appear under Files in the Projects panel within the current project.

  1. On the Project menu, click Link to Existing Item.

  2. In the Link to Existing Item dialog box, browse to the location of the item that you want to add to the current project, select that item, and then click Open. A reference to the item will be added to your project folder and will appear under Files in the Projects panel within the current project. A linked item is identified by an arrow superimposed over the file icon Cc294496.1773abab-ef1d-46ed-a703-9bfb2669d371(en-us,Expression.10).png.

  • Under Files in the Project panel, right-click the item that you want to remove, and then select Remove.

    Cc294496.alert_note(en-us,Expression.10).gifNote:

    Using the Remove option only removes the item from the Files list in the Projects panel; it does not permanently delete the item from the project folder.

    Cc294496.alert_caution(en-us,Expression.10).gifCaution:

    Right-clicking an item in the Projects panel and then clicking Delete will permanently remove the copy of the item from your project folder, but it won't remove any copies of that item that you may have saved elsewhere on your computer.

Community Additions

ADD
Show:
© 2014 Microsoft