diff --git a/Tests/MigrationTests.cs b/Tests/MigrationTests.cs index 8de4d4f..dc553d9 100644 --- a/Tests/MigrationTests.cs +++ b/Tests/MigrationTests.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 2bd1609..da1e1be 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -1,17 +1,20 @@ - net5.0 + net6.0 false - + - - - + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/samples/TestSite/TestSite.csproj b/samples/TestSite/TestSite.csproj index b292176..ce3abf7 100644 --- a/samples/TestSite/TestSite.csproj +++ b/samples/TestSite/TestSite.csproj @@ -1,14 +1,14 @@  - net5.0 + net6.0 aspnet-TestSite-4862F257-7F38-4DD8-A1E1-A4E86B434B28 Windows - + diff --git a/src/AspNetCore.Identity.Mongo/AspNetCore.Identity.Mongo.csproj b/src/AspNetCore.Identity.Mongo/AspNetCore.Identity.Mongo.csproj index b4b66e9..24a7ad0 100644 --- a/src/AspNetCore.Identity.Mongo/AspNetCore.Identity.Mongo.csproj +++ b/src/AspNetCore.Identity.Mongo/AspNetCore.Identity.Mongo.csproj @@ -14,9 +14,9 @@ Matteo Fabbri AspNetCore.Identity.Mongo - 8.3.2 - 8.3.2.0 - 8.3.2.0 + 8.3.4 + 8.3.4.0 + 8.3.4.0 https://github.com/matteofabbri/AspNetCore.Identity.Mongo Removed obsolete properties. @@ -26,7 +26,7 @@ - + diff --git a/src/AspNetCore.Identity.Mongo/Migrations/BaseMigration.cs b/src/AspNetCore.Identity.Mongo/Migrations/BaseMigration.cs index ad49018..ba32057 100644 --- a/src/AspNetCore.Identity.Mongo/Migrations/BaseMigration.cs +++ b/src/AspNetCore.Identity.Mongo/Migrations/BaseMigration.cs @@ -11,7 +11,8 @@ namespace AspNetCore.Identity.Mongo.Migrations internal abstract class BaseMigration { private static List _migrations; - public static List Migrations { + public static List Migrations + { get { if (_migrations == null)