Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsonSerializer System.MissingMethodException again in JSON 11 and RawRabbit 2 RC 9 #386

Open
pila13 opened this issue Dec 24, 2018 · 0 comments

Comments

@pila13
Copy link

pila13 commented Dec 24, 2018

Please compare with this issue, it seems that this method was removed:
JamesNK/Newtonsoft.Json#1671

System.MissingMethodException: Method not found: 'Void Newtonsoft.Json.JsonSerializer.set_TypeNameAssemblyFormat(System.Runtime.Serialization.Formatters.FormatterAssemblyStyle)'.
at RawRabbit.DependencyInjection.RawRabbitDependencyRegisterExtension.<>c.b__0_1(IDependencyResolver resolver)
at RawRabbit.DependencyInjection.SimpleDependencyInjection.<>c__DisplayClass4_02.<AddSingleton>b__0() 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.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.<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.DependencyInjection.SimpleDependencyInjection.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.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, Action`1 contextCfg, CancellationToken token)

@pila13 pila13 changed the title JsonSerializer System.MissingMethodException again in JSON 12.0.1 and RawRabbit 2 RC 9 JsonSerializer System.MissingMethodException again in JSON 11 and RawRabbit 2 RC 9 Dec 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant