Get assembly name of referenced project

3.8k Views Asked by At

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.

1

There are 1 best solutions below

1
suulisin On BEST ANSWER

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