-2

I made a blank solution in C#( without any project ) and I added two Class Library Projects named "PersonLibrary" and "AnotherLibrary". The problem is that when I try to access the PersonLibrary from AnotherLibrary with: "using PersonLibrary;" I get this error: The type or namespace name "PersonLibrary" could not be found.

1

fuz
  • 88,405
  • 25
  • 200
  • 352

1 Answers1

1

If you go to AnotherLibrary -> References -> Add Reference, you should see an option to add projects in solutions and add PersonLibrary .

Once you add a reference, You can use whatever the available methods.

Sajeetharan
  • 216,225
  • 63
  • 350
  • 396