visual studio 2012 - How to call Class of one dll to another dll in c# within the same project solution -


i have 1 class in project proj1 , want access project proj2.both project in same solution .how can .thanks in advance

what can add project reference project 2 project 1, so:

  1. right-click on "references" in project 2

enter image description here

  1. add reference...

enter image description here

  1. solution | projects

enter image description here

  1. tick project 1 (in case i've got project called "library" same applies)

enter image description here

and hit ok. allows access class, , every other class in referenced project, long access modifiers allow to.


Comments