diff --git a/build/BuildScript.csproj b/build/BuildScript.csproj index bb5c75c..b6f64b9 100644 --- a/build/BuildScript.csproj +++ b/build/BuildScript.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + netstandard2.1 diff --git a/samples/Sample.AmazonSQS.InMemory/Sample.AmazonSQS.InMemory.csproj b/samples/Sample.AmazonSQS.InMemory/Sample.AmazonSQS.InMemory.csproj index c8ed0b3..7acd5c7 100644 --- a/samples/Sample.AmazonSQS.InMemory/Sample.AmazonSQS.InMemory.csproj +++ b/samples/Sample.AmazonSQS.InMemory/Sample.AmazonSQS.InMemory.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 diff --git a/samples/Sample.ConsoleApp/Sample.ConsoleApp.csproj b/samples/Sample.ConsoleApp/Sample.ConsoleApp.csproj index fa5e69e..442d727 100644 --- a/samples/Sample.ConsoleApp/Sample.ConsoleApp.csproj +++ b/samples/Sample.ConsoleApp/Sample.ConsoleApp.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 Exe diff --git a/samples/Sample.Kafka.PostgreSql/Sample.Kafka.PostgreSql.csproj b/samples/Sample.Kafka.PostgreSql/Sample.Kafka.PostgreSql.csproj index 90d24a4..3348e3b 100644 --- a/samples/Sample.Kafka.PostgreSql/Sample.Kafka.PostgreSql.csproj +++ b/samples/Sample.Kafka.PostgreSql/Sample.Kafka.PostgreSql.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 NU1701 NU1701 diff --git a/samples/Sample.RabbitMQ.MongoDB/Sample.RabbitMQ.MongoDB.csproj b/samples/Sample.RabbitMQ.MongoDB/Sample.RabbitMQ.MongoDB.csproj index 831dc9c..3b31902 100644 --- a/samples/Sample.RabbitMQ.MongoDB/Sample.RabbitMQ.MongoDB.csproj +++ b/samples/Sample.RabbitMQ.MongoDB/Sample.RabbitMQ.MongoDB.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 diff --git a/samples/Sample.RabbitMQ.MySql/AppDbContext.cs b/samples/Sample.RabbitMQ.MySql/AppDbContext.cs index 526424d..cb24887 100644 --- a/samples/Sample.RabbitMQ.MySql/AppDbContext.cs +++ b/samples/Sample.RabbitMQ.MySql/AppDbContext.cs @@ -32,7 +32,7 @@ namespace Sample.RabbitMQ.MySql protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { - optionsBuilder.UseMySql(ConnectionString); + optionsBuilder.UseMySQL(ConnectionString); } } } diff --git a/samples/Sample.RabbitMQ.MySql/Migrations/20180821021736_init.cs b/samples/Sample.RabbitMQ.MySql/Migrations/20180821021736_init.cs index 762ddbf..646bf08 100644 --- a/samples/Sample.RabbitMQ.MySql/Migrations/20180821021736_init.cs +++ b/samples/Sample.RabbitMQ.MySql/Migrations/20180821021736_init.cs @@ -1,5 +1,5 @@ -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; +using MySql.Data.EntityFrameworkCore.Metadata; namespace Sample.RabbitMQ.MySql.Migrations { @@ -12,7 +12,7 @@ namespace Sample.RabbitMQ.MySql.Migrations columns: table => new { Id = table.Column(nullable: false) - .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), + .Annotation("MySql:ValueGenerationStrategy", MySQLValueGenerationStrategy.IdentityColumn), Name = table.Column(nullable: true) }, constraints: table => diff --git a/samples/Sample.RabbitMQ.MySql/Sample.RabbitMQ.MySql.csproj b/samples/Sample.RabbitMQ.MySql/Sample.RabbitMQ.MySql.csproj index 099f9d6..0dafb6f 100644 --- a/samples/Sample.RabbitMQ.MySql/Sample.RabbitMQ.MySql.csproj +++ b/samples/Sample.RabbitMQ.MySql/Sample.RabbitMQ.MySql.csproj @@ -1,12 +1,12 @@  - netcoreapp3.1 + net5.0 - + diff --git a/samples/Sample.RabbitMQ.SqlServer/Sample.RabbitMQ.SqlServer.csproj b/samples/Sample.RabbitMQ.SqlServer/Sample.RabbitMQ.SqlServer.csproj index e22c30f..ad0d9ec 100644 --- a/samples/Sample.RabbitMQ.SqlServer/Sample.RabbitMQ.SqlServer.csproj +++ b/samples/Sample.RabbitMQ.SqlServer/Sample.RabbitMQ.SqlServer.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 diff --git a/src/DotNetCore.CAP.AmazonSQS/DotNetCore.CAP.AmazonSQS.csproj b/src/DotNetCore.CAP.AmazonSQS/DotNetCore.CAP.AmazonSQS.csproj index 45db3a3..e594310 100644 --- a/src/DotNetCore.CAP.AmazonSQS/DotNetCore.CAP.AmazonSQS.csproj +++ b/src/DotNetCore.CAP.AmazonSQS/DotNetCore.CAP.AmazonSQS.csproj @@ -1,13 +1,13 @@  - netstandard2.0 + netstandard2.1 DotNetCore.CAP.AmazonSQS $(PackageTags);AmazonSQS;SQS - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.AmazonSQS.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.AmazonSQS.xml 1701;1702;1705;CS1591 diff --git a/src/DotNetCore.CAP.AzureServiceBus/DotNetCore.CAP.AzureServiceBus.csproj b/src/DotNetCore.CAP.AzureServiceBus/DotNetCore.CAP.AzureServiceBus.csproj index 97d28ce..66bebbf 100644 --- a/src/DotNetCore.CAP.AzureServiceBus/DotNetCore.CAP.AzureServiceBus.csproj +++ b/src/DotNetCore.CAP.AzureServiceBus/DotNetCore.CAP.AzureServiceBus.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + netstandard2.1 DotNetCore.CAP.AzureServiceBus $(PackageTags);AzureServiceBus @@ -9,7 +9,7 @@ NU1605;NU1701 NU1701;CS1591 - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.AzureServiceBus.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.AzureServiceBus.xml diff --git a/src/DotNetCore.CAP.Dashboard/DotNetCore.CAP.Dashboard.csproj b/src/DotNetCore.CAP.Dashboard/DotNetCore.CAP.Dashboard.csproj index 29ef3fb..0f0b538 100644 --- a/src/DotNetCore.CAP.Dashboard/DotNetCore.CAP.Dashboard.csproj +++ b/src/DotNetCore.CAP.Dashboard/DotNetCore.CAP.Dashboard.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 1591 diff --git a/src/DotNetCore.CAP.InMemoryStorage/DotNetCore.CAP.InMemoryStorage.csproj b/src/DotNetCore.CAP.InMemoryStorage/DotNetCore.CAP.InMemoryStorage.csproj index 34925ce..127176a 100644 --- a/src/DotNetCore.CAP.InMemoryStorage/DotNetCore.CAP.InMemoryStorage.csproj +++ b/src/DotNetCore.CAP.InMemoryStorage/DotNetCore.CAP.InMemoryStorage.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + netstandard2.1 DotNetCore.CAP.InMemoryStorage $(PackageTags);InMemory diff --git a/src/DotNetCore.CAP.Kafka/DotNetCore.CAP.Kafka.csproj b/src/DotNetCore.CAP.Kafka/DotNetCore.CAP.Kafka.csproj index 1f2f8ff..1f82ccf 100644 --- a/src/DotNetCore.CAP.Kafka/DotNetCore.CAP.Kafka.csproj +++ b/src/DotNetCore.CAP.Kafka/DotNetCore.CAP.Kafka.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + netstandard2.1 DotNetCore.CAP.Kafka $(PackageTags);Kafka @@ -9,7 +9,7 @@ NU1605;NU1701 NU1701;CS1591 - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.Kafka.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.Kafka.xml diff --git a/src/DotNetCore.CAP.MongoDB/DotNetCore.CAP.MongoDB.csproj b/src/DotNetCore.CAP.MongoDB/DotNetCore.CAP.MongoDB.csproj index 6140851..1a2e3f3 100644 --- a/src/DotNetCore.CAP.MongoDB/DotNetCore.CAP.MongoDB.csproj +++ b/src/DotNetCore.CAP.MongoDB/DotNetCore.CAP.MongoDB.csproj @@ -1,13 +1,13 @@  - netstandard2.0 + netstandard2.1 DotNetCore.CAP.MongoDB $(PackageTags);MongoDB - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.MongoDB.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.MongoDB.xml 1701;1702;1705;CS1591 diff --git a/src/DotNetCore.CAP.MySql/DotNetCore.CAP.MySql.csproj b/src/DotNetCore.CAP.MySql/DotNetCore.CAP.MySql.csproj index b5373de..07621d0 100644 --- a/src/DotNetCore.CAP.MySql/DotNetCore.CAP.MySql.csproj +++ b/src/DotNetCore.CAP.MySql/DotNetCore.CAP.MySql.csproj @@ -1,13 +1,13 @@  - netstandard2.0;netstandard2.1 + netstandard2.1 DotNetCore.CAP.MySql $(PackageTags);MySQL - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.MySql.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.MySql.xml 1701;1702;1705;CS1591 diff --git a/src/DotNetCore.CAP.PostgreSql/DotNetCore.CAP.PostgreSql.csproj b/src/DotNetCore.CAP.PostgreSql/DotNetCore.CAP.PostgreSql.csproj index 912a9f3..608a8ce 100644 --- a/src/DotNetCore.CAP.PostgreSql/DotNetCore.CAP.PostgreSql.csproj +++ b/src/DotNetCore.CAP.PostgreSql/DotNetCore.CAP.PostgreSql.csproj @@ -1,13 +1,13 @@  - netstandard2.0 + netstandard2.1 DotNetCore.CAP.PostgreSql $(PackageTags);PostgreSQL - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.PostgreSql.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.PostgreSql.xml 1701;1702;1705;CS1591 diff --git a/src/DotNetCore.CAP.RabbitMQ/DotNetCore.CAP.RabbitMQ.csproj b/src/DotNetCore.CAP.RabbitMQ/DotNetCore.CAP.RabbitMQ.csproj index 1fc96d1..4705aa1 100644 --- a/src/DotNetCore.CAP.RabbitMQ/DotNetCore.CAP.RabbitMQ.csproj +++ b/src/DotNetCore.CAP.RabbitMQ/DotNetCore.CAP.RabbitMQ.csproj @@ -1,13 +1,13 @@  - netstandard2.0 + netstandard2.1 DotNetCore.CAP.RabbitMQ $(PackageTags);RabbitMQ - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.RabbitMQ.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.RabbitMQ.xml 1701;1702;1705;CS1591 diff --git a/src/DotNetCore.CAP.SqlServer/DotNetCore.CAP.SqlServer.csproj b/src/DotNetCore.CAP.SqlServer/DotNetCore.CAP.SqlServer.csproj index 3307a7d..73a280f 100644 --- a/src/DotNetCore.CAP.SqlServer/DotNetCore.CAP.SqlServer.csproj +++ b/src/DotNetCore.CAP.SqlServer/DotNetCore.CAP.SqlServer.csproj @@ -1,14 +1,14 @@  - netstandard2.0 + netstandard2.1 DotNetCore.CAP.SqlServer $(PackageTags);SQL Server - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.SqlServer.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.SqlServer.xml 1701;1702;1705;CS1591 diff --git a/src/DotNetCore.CAP/DotNetCore.CAP.csproj b/src/DotNetCore.CAP/DotNetCore.CAP.csproj index fe2c46c..a7bebc2 100644 --- a/src/DotNetCore.CAP/DotNetCore.CAP.csproj +++ b/src/DotNetCore.CAP/DotNetCore.CAP.csproj @@ -1,11 +1,11 @@  - netstandard2.0 + netstandard2.1 - bin\$(Configuration)\netstandard2.0\DotNetCore.CAP.xml + bin\$(Configuration)\netstandard2.1\DotNetCore.CAP.xml 1701;1702;1705;CS1591 diff --git a/test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj b/test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj index dd0a52c..5f147cc 100644 --- a/test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj +++ b/test/DotNetCore.CAP.MySql.Test/DotNetCore.CAP.MySql.Test.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 false diff --git a/test/DotNetCore.CAP.Test/DotNetCore.CAP.Test.csproj b/test/DotNetCore.CAP.Test/DotNetCore.CAP.Test.csproj index ae50a1f..e196a9d 100644 --- a/test/DotNetCore.CAP.Test/DotNetCore.CAP.Test.csproj +++ b/test/DotNetCore.CAP.Test/DotNetCore.CAP.Test.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 false