Dela via


Reference Paths Dialog Box (Visual Basic)

The Reference Paths dialog box allows you to set paths for assembly references used by the project.

To access this dialog box, on the References page of the Project Designer, click the Reference Paths button.

When the project system finds an assembly reference, it resolves the reference by looking in the following locations, in the following order:

  1. The project directory. The project directory files appear in Solution Explorer when Show All Files is not in effect.

  2. Directories specified in this dialog box.

  3. Directories displaying files in the Add Reference dialog box.

  4. The project's obj directory. (Any assemblies created as a result of adding a COM reference to your project are added to the project's obj directory.)

For more information, see How to: Set the Reference Path (C#)

  • Folder
    Specifies the path to the folder containing assemblies. Click the browse button () to select a local or network path.

  • Add Folder
    Clicking this button adds the folder specified in the Folder text box to the Reference Paths list.

  • Update
    Replaces the folder selected in the Reference Paths list with the folder path you enter in the Folder text box.

  • Reference paths
    Lists the directories containing assemblies that you set in the Folder box.

    The settings for this property are specific to the project, computer, and user for which it was set; this information will not be stored in the project settings.

See Also

Reference

References Page, Project Designer (Visual Basic)