Say I have a class called TypeA. It is in the same program that uses dnlib to inject this class, called ProgramA. I am loading an assembly, ProgramB, that uses Mono's mscorlib and cannot use Windows' mscorlib. Is there any way I can inject TypeA in ProgramB, making it use Mono's mscorlib instead of Windows'? TypeA does some very simple operations so everything is covered in Mono.
Say I have a class called TypeA. It is in the same program that uses dnlib to inject this class, called ProgramA. I am loading an assembly, ProgramB, that uses Mono's mscorlib and cannot use Windows' mscorlib. Is there any way I can inject TypeA in ProgramB, making it use Mono's mscorlib instead of Windows'? TypeA does some very simple operations so everything is covered in Mono.
Thanks!