System.MissingMethodException: Method not found: 'Void Newtonsoft.Json.JsonSerializer.set_TypeNameAssemblyFormat(System.Runtime.Serialization.Formatters.FormatterAssemblyStyle)'.
at RawRabbit.DependencyInjection.RawRabbitDependencyRegisterExtension.<>c.b0_1(IDependencyResolver resolver)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass4_0`2.b0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue() at RawRabbit.DependencyInjection.SimpleDependencyInjection.TryGetService(Type serviceType, Object& service, Object[] additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass9_0.<CreateInstance>b__4(ParameterInfo parameter) at System.Linq.Enumerable.SelectArrayIterator2.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at RawRabbit.DependencyInjection.SimpleDependencyInjection.CreateInstance(Type implementationType, IEnumerable1 additional)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService(Type serviceType, Object[] additional)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.b2_0[TService,TImplementation](IDependencyResolver resolver)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.TryGetService(Type serviceType, Object& service, Object[] additional)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass9_0.b4(ParameterInfo parameter)
at System.Linq.Enumerable.SelectArrayIterator2.ToArray() at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.CreateInstance(Type implementationType, IEnumerable1 additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService(Type serviceType, Object[] additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.<AddTransient>b__2_0[TService,TImplementation](IDependencyResolver resolver) at RawRabbit.DependencyInjection.SimpleDependencyInjection.TryGetService(Type serviceType, Object& service, Object[] additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass9_0.<CreateInstance>b__4(ParameterInfo parameter) at System.Linq.Enumerable.SelectArrayIterator2.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at RawRabbit.DependencyInjection.SimpleDependencyInjection.CreateInstance(Type implementationType, IEnumerable1 additional)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService(Type serviceType, Object[] additional)
at RawRabbit.Pipe.PipeBuilder.CreateInstance(MiddlewareInfo middlewareInfo)
at RawRabbit.Pipe.PipeBuilder.Build()
at RawRabbit.BusClient.InvokeAsync(Action1 pipeCfg, Action1 contextCfg, CancellationToken token)
Please compare with this issue, it seems that this method was removed: https://github.com/JamesNK/Newtonsoft.Json/issues/1671
System.MissingMethodException: Method not found: 'Void Newtonsoft.Json.JsonSerializer.set_TypeNameAssemblyFormat(System.Runtime.Serialization.Formatters.FormatterAssemblyStyle)'. at RawRabbit.DependencyInjection.RawRabbitDependencyRegisterExtension.<>c.b0_1(IDependencyResolver resolver)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass4_0`2.b 0()
at System.Lazyb2_0[TService,TImplementation](IDependencyResolver resolver)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.TryGetService(Type serviceType, Object& service, Object[] additional)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass9_0.b 4(ParameterInfo parameter)
at System.Linq.Enumerable.SelectArrayIterator
1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy
1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy1.CreateValue() at RawRabbit.DependencyInjection.SimpleDependencyInjection.TryGetService(Type serviceType, Object& service, Object[] additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass9_0.<CreateInstance>b__4(ParameterInfo parameter) at System.Linq.Enumerable.SelectArrayIterator
2.ToArray() at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at RawRabbit.DependencyInjection.SimpleDependencyInjection.CreateInstance(Type implementationType, IEnumerable
1 additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService(Type serviceType, Object[] additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.2.ToArray() at System.Linq.Enumerable.ToArray[TSource](IEnumerable
1 source) at RawRabbit.DependencyInjection.SimpleDependencyInjection.CreateInstance(Type implementationType, IEnumerable1 additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService(Type serviceType, Object[] additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.<AddTransient>b__2_0[TService,TImplementation](IDependencyResolver resolver) at RawRabbit.DependencyInjection.SimpleDependencyInjection.TryGetService(Type serviceType, Object& service, Object[] additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass9_0.<CreateInstance>b__4(ParameterInfo parameter) at System.Linq.Enumerable.SelectArrayIterator
2.ToArray() at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at RawRabbit.DependencyInjection.SimpleDependencyInjection.CreateInstance(Type implementationType, IEnumerable
1 additional) at RawRabbit.DependencyInjection.SimpleDependencyInjection.GetService(Type serviceType, Object[] additional) at RawRabbit.Pipe.PipeBuilder.CreateInstance(MiddlewareInfo middlewareInfo) at RawRabbit.Pipe.PipeBuilder.Build() at RawRabbit.BusClient.InvokeAsync(Action1 pipeCfg, Action
1 contextCfg, CancellationToken token)