diff --git a/src/Context/Context.csproj b/src/Context/Context.csproj index e720159..e97964c 100644 --- a/src/Context/Context.csproj +++ b/src/Context/Context.csproj @@ -30,12 +30,6 @@ - - - - - - diff --git a/src/Context/MongoOptionsExtensions.cs b/src/Context/MongoOptionsExtensions.cs index 5ad0288..ff42f1a 100644 --- a/src/Context/MongoOptionsExtensions.cs +++ b/src/Context/MongoOptionsExtensions.cs @@ -8,7 +8,7 @@ public static MongoOptions Validate( this MongoOptions? mongoOptions) where TMongoDBContext : IMongoDbContext { - mongoOptions.Validate(); + Validate(mongoOptions as MongoOptions); return mongoOptions!; } diff --git a/src/Dependencies.props b/src/Dependencies.props index 4b8804e..c2f314f 100644 --- a/src/Dependencies.props +++ b/src/Dependencies.props @@ -1,6 +1,6 @@ - netcoreapp3.1;net5.0;net6.0;net7.0 - netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net7.0 + net6.0;net7.0 + netstandard2.0;netstandard2.1;net6.0;net7.0 diff --git a/src/Prime.Extensions/Prime.Extensions.csproj b/src/Prime.Extensions/Prime.Extensions.csproj index 9007a36..a2a877c 100644 --- a/src/Prime.Extensions/Prime.Extensions.csproj +++ b/src/Prime.Extensions/Prime.Extensions.csproj @@ -30,12 +30,6 @@ - - - - - -