3

Let's say I have project A and project B. I have them in the same solution and A references B and uses B as a kinda slave process. I don't want to hardcode the assembly name of B but I'm wondering how to query the assembly name in project A so I can execute the assembly of project B.

Christian Klemm
  • 1,455
  • 5
  • 28
  • 49

1 Answers1

8

typeof(B).Assembly.GetName().Name;

suulisin
  • 1,414
  • 1
  • 10
  • 17