Share via


Adding and Removing Project References

The Add Reference dialog box can be used either to add or to delete project references. This dialog box can be accessed from the Project menu.

To add a project reference

  1. In Solution Explorer, select the project.

  2. On the Project menu, choose Add Reference.

    The Add References dialog box opens.

  3. Choose the tab for the category to which you want to add a reference.

  4. Choose Browse, and find the desired component on your local drive, then click OK.

    The component is added to the Selected Components field.

  5. To add the selected reference to the current tab, choose Add.

To remove project references

  1. In Solution Explorer, select the project.

  2. On the Project menu, choose Add Reference.

    The Add References dialog box opens.

  3. Click the tab for a category that contains references you want to remove.

  4. Select each reference you want to remove, and click Select to place it in the Selected Components field.

  5. To remove the selected references, choose Remove.

See Also

Add Reference Dialog Box | Default and Custom Builds | Build Configurations | Configuration Manager Dialog Box | Projects as Containers | Item Management in Projects