A little bit of background: I recently recompiled the ServiceStack library from its source code (https://github.com/ServiceStack/ServiceStack). I also recompiled the ServiceStack.Text project, after completing some bug fixes. I copied the ServiceStack.Text dll file into the "lib" folder of the ServiceStack project (it is there because the ServiceStack solution does not include the serializers in Text).
Now I am getting TypeLoadExceptions, as follows:
System.TypeLoadException: Method 'get_StatusCode' in type 'ServiceStack.ServiceInterface.Testing.MockHttpResponse' from assembly 'ServiceStack.ServiceInterface, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) at System.Reflection.RuntimeAssembly.GetExportedTypes() at ----my code from here...----
I'm not sure what the issue could be. I suspected it could be a circular DLL reference issue (DLL Hell) because ServiceStack.OrmLite is referenced (which also references back to other solutions in this project); however, after removing all references to ServiceStack projects, I still have not solved the problem.
This post seems to have some ideas, but I have not had any luck following through with those: TypeLoadException says 'no implementation', but it is implemented