I'm trying to add a project that contains some classes as a reference to another project, but I have not got, all your suggestions will be great
Thank you
Add a reference In Solution Explorer, right-click on the References or Dependencies node and choose either Add Project Reference, Add Shared Project Reference, or Add COM Reference. (You can right-click the project node and select Add from the fly-out menu to choose from these options, too.)
In Solution Explorer, select the solution. On the File menu, point to Add, and click Existing Project. In the Add Existing Project dialog box, locate the project you want to add, select the project file, and then click Open. The project is added to the selected solution.
You will need to right click your project and select add -> Reference... -> Projects and tick the project you would like to reference. The result of this should show the referenced project under the references section of your project tree.
Do the following:
s
From the solution explorer, select the References item of the project you want to need to reference the "other project" into.
Click on Add reference
Choose the project item
Add your other project as reference to the main project.
Alternatively, you can compile the other project as DLL and add it (as dll) to your main project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With