-1

Could someone give me an advice on this question? I need to call static method which is described in another project of the same solution.

Thank you in advance!

Pew
  • 11
  • 3
  • Add the reference to the project and you will be able to call the class & its method – Prakash Oct 13 '18 at 16:11
  • That's the point that I have reference! I can work with Class data of another project. – Pew Oct 13 '18 at 16:45
  • Then the problem is something outside of your description here, because if you have the reference to the project added, *it should work*. – Lasse V. Karlsen Oct 13 '18 at 18:46

1 Answers1

2
  1. Right click Reference from project you are working on(project to call the function) at solution explorer.
  2. Click Add Reference(R)
  3. Select Project(at left side) and add project to reference.
YukiNyaa
  • 136
  • 1
  • 13
  • ...and give a look at the `Solution -> Properties -> Project Dependencies` & Co. – Jimi Oct 13 '18 at 16:44
  • That's the point that I have reference! I can work with Class data of another project. – Pew Oct 13 '18 at 16:45