How to add a project as a reference of another project

Do the following:

  1. Open the File menu.
  2. Choose Add, then Existing project
  3. Add the project you want into your solution

senter image description here

  1. From the solution explorer, select the References item of the project you want to need to reference the “other project” into.

  2. Click on Add reference

  3. Choose the project item

  4. Add your other project as reference to the main project.

enter image description here

Alternatively, you can compile the other project as DLL and add it (as dll) to your main project.

Leave a Comment