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.
Asked
Active
Viewed 3,527 times
1 Answers
8
typeof(B).Assembly.GetName().Name;

suulisin
- 1,414
- 1
- 10
- 17
-
2That should be an object from project B `typeof(objectFromProjectB)` – Nkosi May 02 '16 at 17:26