I am using the program Reflexil to inject a reference in the executable Foo1.exe to an outside assembly named Foo2.dll.
In Foo1.exe, there is a class called Bar.
In Foo2.dll, there is an interface IBar which correctly implements all of the fields and methods of Bar.
I have used Reflexil to give Bar in Foo1.exe the interface IBar in Foo2.dll.
When Foo1.exe loads, it finds Foo2.dll located in the application directory and loads it, but it throws a System.TypeLoadException with the following error message Method 'get_***' in type 'Foo1.Bar' from assembly 'Foo1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
I have already read through the previous question with the same error message (TypeLoadException says 'no implementation', but it is implemented), but I've been unable to figure out how to correctly implement the fix when I don't have any compiler checks for Foo1.exe.
Thanks for your help!