C
C#5mo ago
che7598

How to access Assembly Reference of all projects in a solution.

I am writing a test for clean architecture. I want to access the project assemblies of all the other projects inside my XUnit project so I can write tests for them. However, I'm stuck
4 Replies
L. MS
L. MS5mo ago
You mean: dependencies -> add project reference?
che7598
che75985mo ago
No. for example private readonly Assembly DomainAssembly = typeof(Domain).Assembly;
Denis
Denis5mo ago
You wish to use the xUnit test to validate references? To enforce some sort of governance, right?
che7598
che75985mo ago
Exactly. I want to enforce the clean architecture pattern
Want results from more Discord servers?
Add your server
More Posts