In C#, I have an assembly (AssemblyA) whose internals are visible to another assembly (AssemblyB) in the same solution, which I have achieved using
[assembly: InternalsVisibleTo(AssemblyB, PublicKey=1234566.......)]
However, AssemblyA is packaged into our installer, while AssemblyB remains an internal library that we do not want our customers to have access to. Does Assembly B need to be present for Assembly A to load properly? Currently I am getting a FileNotFoundException stating that then assembly or one of its dependecies was not found, and I am wondering if this is the case.
If this is indeed the case, is there a way to make the module load without Assembly B present?