Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Project Properties
Project Designer
 How to: Add and Remove References i...
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio 
How to: Add and Remove References in Visual Studio (C#, J#) 

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. For more information, see Add Reference Dialog Box.

To add a project reference

  1. In Solution Explorer, select the project.

  2. On the Project menu, choose Add Reference.

    The Add Reference dialog box opens.

  3. Select the tab indicating the type of component you want to reference.

  4. In the top pane, select the component you want to reference, and then click the Select button. Press CTRL while clicking to select multiple components.

    NoteTip

    If the component you are looking for is not in the list, you may locate it using the Browse button.

  5. Click OK when you have selected all the components you need.

    Selected references will appear under the References node of the project.

To remove a project reference

  • In Solution Explorer, right-click the reference in the References node, and select Remove from the shortcut menu.

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker