diff --git a/src/RawRabbit/DependencyInjection/RawRabbitDependencyRegisterExtension.cs b/src/RawRabbit/DependencyInjection/RawRabbitDependencyRegisterExtension.cs index 006626d5..cafe38d6 100644 --- a/src/RawRabbit/DependencyInjection/RawRabbitDependencyRegisterExtension.cs +++ b/src/RawRabbit/DependencyInjection/RawRabbitDependencyRegisterExtension.cs @@ -49,7 +49,7 @@ public static IDependencyRegister AddRawRabbit(this IDependencyRegister register .AddSingleton() .AddSingleton(resolver => new Serialization.JsonSerializer(new Newtonsoft.Json.JsonSerializer { - TypeNameAssemblyFormat = FormatterAssemblyStyle.Simple, + TypeNameAssemblyFormatHandling = TypeNameAssemblyFormatHandling.Simple, Formatting = Formatting.None, CheckAdditionalContent = true, ContractResolver = new CamelCasePropertyNamesContractResolver(), diff --git a/src/RawRabbit/RawRabbit.csproj b/src/RawRabbit/RawRabbit.csproj index ba115a3e..8f991deb 100644 --- a/src/RawRabbit/RawRabbit.csproj +++ b/src/RawRabbit/RawRabbit.csproj @@ -19,7 +19,7 @@ - +