Compartir a través de


Add or remove a reference

You can add a reference to any .NET Framework assembly, Microsoft Silverlight assembly, or compatible COM library DLL to a Blend para Visual Studio 2012 project. For example, you might do any of the following:

To add a reference

  1. On the Project menu, click Add Reference, if you want to add an assembly (.dll or .exe) to your project.

  2. In the Add Reference dialog box, browse to the location of the assembly or COM library that you want to add to the current project, select that item, and then click Open.

    The item is not added to your project, but a reference to it is added in the References node in the Projects panel.

  3. Build your project to incorporate the referenced item and to make any new controls available from the Assets panel JJ170752.0d8b8d29-1af9-418f-8741-be3097d76eab(es-es,VS.110).png.

    If the referenced item is updated externally, you will need to rebuild in Blend to pick up the changes.

To add a reference to another project

  1. Add a new or existing project to your solution.

  2. On the Project menu, click Add Project Reference, and then select the name of your project from the list that appears.

  3. Build your project to incorporate the referenced project and to make any new controls available from the Assets panel JJ170752.0d8b8d29-1af9-418f-8741-be3097d76eab(es-es,VS.110).png.

    If the referenced item is updated externally, you will need to rebuild in Blend to pick up the changes.

To remove a reference

  • In the References node in the Projects panel, right-click the reference that you want to remove, and then click Remove from Project.

    [!NOTA]

    Using the Remove from Project option only removes the reference from the project; it does not delete the referenced item from your computer.

Vea también

Tareas

Add a new or existing project to a solution