From 2572e4ca09894d65d52a26a6e5058a5bcd515883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin=20Do=C4=9Fu?= Date: Mon, 18 Jul 2022 18:06:48 +0300 Subject: [PATCH] Upgraded to .NET6 --- .../AspnetRun.Application.csproj | 4 ++-- src/AspnetRun.Core/AspnetRun.Core.csproj | 2 +- .../AspnetRun.Infrastructure.csproj | 12 ++++++------ src/AspnetRun.Web/AspnetRun.Web.csproj | 6 +++--- .../AspnetRun.Application.Tests.csproj | 8 ++++---- .../AspnetRun.Core.Tests/AspnetRun.Core.Tests.csproj | 6 +++--- .../AspnetRun.Infrastructure.Tests.csproj | 8 ++++---- test/AspnetRun.Web.Tests/AspnetRun.Web.Tests.csproj | 10 +++++----- .../CustomWebApplicationFactory.cs | 3 +-- 9 files changed, 29 insertions(+), 30 deletions(-) diff --git a/src/AspnetRun.Application/AspnetRun.Application.csproj b/src/AspnetRun.Application/AspnetRun.Application.csproj index a651299..c5508d3 100644 --- a/src/AspnetRun.Application/AspnetRun.Application.csproj +++ b/src/AspnetRun.Application/AspnetRun.Application.csproj @@ -1,11 +1,11 @@  - net5.0 + net6.0 - + diff --git a/src/AspnetRun.Core/AspnetRun.Core.csproj b/src/AspnetRun.Core/AspnetRun.Core.csproj index 2f002aa..fff7812 100644 --- a/src/AspnetRun.Core/AspnetRun.Core.csproj +++ b/src/AspnetRun.Core/AspnetRun.Core.csproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 diff --git a/src/AspnetRun.Infrastructure/AspnetRun.Infrastructure.csproj b/src/AspnetRun.Infrastructure/AspnetRun.Infrastructure.csproj index b792c00..fc201fa 100644 --- a/src/AspnetRun.Infrastructure/AspnetRun.Infrastructure.csproj +++ b/src/AspnetRun.Infrastructure/AspnetRun.Infrastructure.csproj @@ -1,18 +1,18 @@  - net5.0 + net6.0 - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + all runtime; build; native; contentfiles; analyzers diff --git a/src/AspnetRun.Web/AspnetRun.Web.csproj b/src/AspnetRun.Web/AspnetRun.Web.csproj index e816194..ce7157b 100644 --- a/src/AspnetRun.Web/AspnetRun.Web.csproj +++ b/src/AspnetRun.Web/AspnetRun.Web.csproj @@ -1,12 +1,12 @@  - net5.0 + net6.0 - - + + diff --git a/test/AspnetRun.Application.Tests/AspnetRun.Application.Tests.csproj b/test/AspnetRun.Application.Tests/AspnetRun.Application.Tests.csproj index bf1c023..d363c48 100644 --- a/test/AspnetRun.Application.Tests/AspnetRun.Application.Tests.csproj +++ b/test/AspnetRun.Application.Tests/AspnetRun.Application.Tests.csproj @@ -1,16 +1,16 @@  - net5.0 + net6.0 false - - + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/AspnetRun.Core.Tests/AspnetRun.Core.Tests.csproj b/test/AspnetRun.Core.Tests/AspnetRun.Core.Tests.csproj index e1b76fe..d4c20fc 100644 --- a/test/AspnetRun.Core.Tests/AspnetRun.Core.Tests.csproj +++ b/test/AspnetRun.Core.Tests/AspnetRun.Core.Tests.csproj @@ -1,15 +1,15 @@  - net5.0 + net6.0 false - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/AspnetRun.Infrastructure.Tests/AspnetRun.Infrastructure.Tests.csproj b/test/AspnetRun.Infrastructure.Tests/AspnetRun.Infrastructure.Tests.csproj index 9fee5be..6961c71 100644 --- a/test/AspnetRun.Infrastructure.Tests/AspnetRun.Infrastructure.Tests.csproj +++ b/test/AspnetRun.Infrastructure.Tests/AspnetRun.Infrastructure.Tests.csproj @@ -1,16 +1,16 @@  - net5.0 + net6.0 false - - + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/AspnetRun.Web.Tests/AspnetRun.Web.Tests.csproj b/test/AspnetRun.Web.Tests/AspnetRun.Web.Tests.csproj index 7da2fbe..527ffd5 100644 --- a/test/AspnetRun.Web.Tests/AspnetRun.Web.Tests.csproj +++ b/test/AspnetRun.Web.Tests/AspnetRun.Web.Tests.csproj @@ -1,17 +1,17 @@  - net5.0 + net6.0 false - - - + + + - + all runtime; build; native; contentfiles; analyzers diff --git a/test/AspnetRun.Web.Tests/CustomWebApplicationFactory.cs b/test/AspnetRun.Web.Tests/CustomWebApplicationFactory.cs index 4c2889f..d87b83c 100644 --- a/test/AspnetRun.Web.Tests/CustomWebApplicationFactory.cs +++ b/test/AspnetRun.Web.Tests/CustomWebApplicationFactory.cs @@ -56,8 +56,7 @@ protected override void ConfigureWebHost(IWebHostBuilder builder) } catch (Exception ex) { - logger.LogError(ex, $"An error occurred seeding the " + - "database with test messages. Error: {ex.Message}"); + logger.LogError(ex, $"An error occurred seeding the database with test messages. Error: {ex.Message}"); } } });