Why do I get this problem?
Background: myClass inherits from a class ABC which inherits from a BaseClass.
BaseClass is a custom created class in a different namespace and contained in a different DLL assembly.
Issue: VisualStudio wants me to add a reference to the BaseClass DLL - otherwise it won't compile myClass.
- Why don't the compiler make use of the metadata?
- What if I bought the DLL (possibly without source code) and the vendor uses hundreds of classes to inherit from, why would I need to add (and know) all those references?
Thanks