diff --git a/Orleans.Providers.MongoDB/Orleans.Providers.MongoDB.csproj b/Orleans.Providers.MongoDB/Orleans.Providers.MongoDB.csproj index 391217f..506fd7d 100644 --- a/Orleans.Providers.MongoDB/Orleans.Providers.MongoDB.csproj +++ b/Orleans.Providers.MongoDB/Orleans.Providers.MongoDB.csproj @@ -15,7 +15,7 @@ Orleans OrleansProviders MongoDB snupkg net8.0 - 8.1.0 + 8.2.0 @@ -24,7 +24,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Test/Host/Program.cs b/Test/Host/Program.cs index e7b0c7f..e9d8a00 100644 --- a/Test/Host/Program.cs +++ b/Test/Host/Program.cs @@ -215,9 +215,7 @@ private static void ApplyBsonConfiguration() new IgnoreExtraElementsConvention(true) }, t => true); - - // http://mongodb.github.io/mongo-csharp-driver/2.11/reference/bson/guidserialization/guidrepresentationmode/guidrepresentationmode/ - BsonDefaults.GuidRepresentationMode = GuidRepresentationMode.V3; + BsonSerializer.RegisterSerializer(new GuidSerializer(GuidRepresentation.Standard)); } }