I have this dependency of projects:
Client
[.NET 4.7.2] -> Infrastructure
[.NET Standard 2.0] -> ExternalLib
[dll]
When I try to call a method of Infrastructure
that uses ExternalLib
from the Client
project, the compiler generates the following error:
Error CS0012 The type
ClassX
is defined in an assembly that is not referenced. You must add a reference to assemblyExternalLib
Is it possible to do it implicitly? I mean it shouldn't be needed to add this reference explicitly since it is already done in the Infrastructure
project.
Thank you