'How to add references in dot net project

I have a simple project mentioned below. Can somebody tell me how can I reference my classLibrary1 in classLibrary2, I right-clicked and tried adding reference but that isn't working since I am not able to use the method of classLibrary2 in classLibrary1 (I am inheriting the class of classLibrary1 in classLibrary2 as well)

Why am I not able to see the References folder in classLibrary1 and classLibrary2?

projectscreen shot

PLease help



Solution 1:[1]

The reason why you can't see the reference file is because you created a Class Library. enter image description here enter image description here

As we can see, the Class Library (.Net Framework) has a References file, but the Class Library does not.

You can right-click on the project and choose Add->Reference to add a reference include the projects in the solution explorer. enter image description here enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jingmiao Xu-MSFT