Wednesday, July 20, 2016

Set the Reference Path (C#)

To set a reference path

  1. In Solution Explorer, select the project.
  2. On the Project menu, click <Project Name> Properties.
  3. Click Reference Paths.
  4. In the Folder text box, specify the path of the folder that contains assemblies. To browse to the folder, click the ellipsis (…).
  5. Click Add Folder.

To overwrite a reference path

  1. In Solution Explorer, select the project.
  2. On the Project menu, click <Project Name> Properties.
  3. Click Reference Paths.
  4. In the Reference Path box, select the path to overwrite.
  5. In the Folder text box, specify the path of the folder that contains assemblies. To browse to the path, click the ellipsis (…).
  6. Click Update. The path selected in the Reference Path box is overwritten with the path specified in the Folder text box.

To remove a reference path

  1. In Solution Explorer, select the project.
  2. On the Project menu, click <Project Name> Properties.
  3. Click Reference Paths.
  4. In the Reference Path box, select the path to remove.
  5. Click Remove.