I was working on Azure functions with.Net f/w and my unit test cases were running fine. Unit test cases were using Rhino Mock. After migrating it to.Net Core, these test cases are giving runtime exceptions. Some of the expceptions being :
MissingMethodException: Method not found:
DurableOrchestrationClientBase durableOrchestrationClientBaseMock = MockRepository.Mock<DurableOrchestrationClientBase>();
Method not found: 'System.Reflection.Emit.AssemblyBuilder System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName, System.Reflection.Emit.AssemblyBuilderAccess)'.'
var helper = MockRepository.Mock<IDBHelper>();
My question is "Is Rhino mocks compatible with .Net Core?"