diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a613996..77e9ea0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -40,11 +40,11 @@ steps: version: '3.1.200' # https://dotnet.microsoft.com/download/dotnet/5.0 -# - task: UseDotNet@2 -# displayName: Install .Net Core 5.0.101 -# inputs: -# packageType: 'sdk' -# version: '5.0.101' +- task: UseDotNet@2 + displayName: Install .Net Core 5.0.101 + inputs: + packageType: 'sdk' + version: '5.0.101' - script: | echo buildConfiguration: $(buildConfiguration) @@ -76,7 +76,7 @@ steps: publishWebProjects: false projects: | **/samples/Opw.PineBlog.Sample/*.csproj - arguments: '--configuration $(buildConfiguration) --framework netcoreapp3.1 --output $(build.artifactstagingdirectory) /p:Version=$(GitVersion.SemVer) --no-build' + arguments: '--configuration $(buildConfiguration) --framework net5.0 --output $(build.artifactstagingdirectory) /p:Version=$(GitVersion.SemVer) --no-build' zipAfterPublish: false # Delete the "Areas" folder, this should not be deployed diff --git a/samples/Opw.PineBlog.Sample.NuGet/Opw.PineBlog.Sample.NuGet.csproj b/samples/Opw.PineBlog.Sample.NuGet/Opw.PineBlog.Sample.NuGet.csproj index a995208..112f77d 100644 --- a/samples/Opw.PineBlog.Sample.NuGet/Opw.PineBlog.Sample.NuGet.csproj +++ b/samples/Opw.PineBlog.Sample.NuGet/Opw.PineBlog.Sample.NuGet.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + netcoreapp3.1;net5.0 @@ -14,14 +14,22 @@ - - + + + + + + + + + + true diff --git a/samples/Opw.PineBlog.Sample/Opw.PineBlog.Sample.csproj b/samples/Opw.PineBlog.Sample/Opw.PineBlog.Sample.csproj index a2bc464..e55b0ff 100644 --- a/samples/Opw.PineBlog.Sample/Opw.PineBlog.Sample.csproj +++ b/samples/Opw.PineBlog.Sample/Opw.PineBlog.Sample.csproj @@ -1,30 +1,37 @@ - - netcoreapp3.1 - InProcess - - - - - - - - - - - - - - - - - - - - - - - + + netcoreapp3.1;net5.0 + InProcess + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/Opw.PineBlog.Sample/Startup.cs b/samples/Opw.PineBlog.Sample/Startup.cs index e552681..3c9b2de 100644 --- a/samples/Opw.PineBlog.Sample/Startup.cs +++ b/samples/Opw.PineBlog.Sample/Startup.cs @@ -62,7 +62,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); - app.UseDatabaseErrorPage(); } else { diff --git a/src/Opw.AspNetCore.Testing/Opw.AspNetCore.Testing.csproj b/src/Opw.AspNetCore.Testing/Opw.AspNetCore.Testing.csproj index 906ea4c..7a3f3b2 100644 --- a/src/Opw.AspNetCore.Testing/Opw.AspNetCore.Testing.csproj +++ b/src/Opw.AspNetCore.Testing/Opw.AspNetCore.Testing.csproj @@ -1,18 +1,18 @@ - - netcoreapp3.1 - false - + + netcoreapp3.1;net5.0 + false + - - - + + + - - - - - + + + + + diff --git a/src/Opw.PineBlog.Abstractions/Opw.PineBlog.Abstractions.csproj b/src/Opw.PineBlog.Abstractions/Opw.PineBlog.Abstractions.csproj index dded4f0..391a60b 100644 --- a/src/Opw.PineBlog.Abstractions/Opw.PineBlog.Abstractions.csproj +++ b/src/Opw.PineBlog.Abstractions/Opw.PineBlog.Abstractions.csproj @@ -1,13 +1,13 @@ - - netstandard2.1 - Opw.PineBlog - true - + + netstandard2.1 + Opw.PineBlog + true + - - - + + + diff --git a/src/Opw.PineBlog.Core/Opw.PineBlog.Core.csproj b/src/Opw.PineBlog.Core/Opw.PineBlog.Core.csproj index 6aad75a..80ab8fa 100644 --- a/src/Opw.PineBlog.Core/Opw.PineBlog.Core.csproj +++ b/src/Opw.PineBlog.Core/Opw.PineBlog.Core.csproj @@ -1,38 +1,41 @@ - - netstandard2.1 - Opw.PineBlog - PineBlog core package. - true - Opw.PineBlog.Core - blog core - Opw.PineBlog.Core.nuspec - version=$(PackageVersion) - + + netstandard2.1 + Opw.PineBlog + PineBlog core package. + true + Opw.PineBlog.Core + blog core + Opw.PineBlog.Core.nuspec + version=$(PackageVersion) + - - - + + + - - - + + + - - - - - - - - - - - + + + + + + + + - - - + + + + + + + + + diff --git a/src/Opw.PineBlog.Core/Opw.PineBlog.Core.nuspec b/src/Opw.PineBlog.Core/Opw.PineBlog.Core.nuspec index ceb668a..ca5d7bf 100644 --- a/src/Opw.PineBlog.Core/Opw.PineBlog.Core.nuspec +++ b/src/Opw.PineBlog.Core/Opw.PineBlog.Core.nuspec @@ -1,37 +1,38 @@ - - Opw.PineBlog.Core - 0.0.0 - Of Pine Wood - Of Pine Wood - false - https://github.com/ofpinewood/pineblog/blob/master/LICENSE - https://github.com/ofpinewood/pineblog - https://github.com/ofpinewood/pineblog/blob/master/pineblog-logo-256x256.gif?raw=true - PineBlog core package. - blog core - - - - - - - - - - - - - + + Opw.PineBlog.Core + 0.0.0 + Of Pine Wood + Of Pine Wood + false + https://github.com/ofpinewood/pineblog/blob/master/LICENSE + https://github.com/ofpinewood/pineblog + https://github.com/ofpinewood/pineblog/blob/master/pineblog-logo-256x256.gif?raw=true + PineBlog core package. + blog core + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Opw.PineBlog.EntityFrameworkCore/Opw.PineBlog.EntityFrameworkCore.csproj b/src/Opw.PineBlog.EntityFrameworkCore/Opw.PineBlog.EntityFrameworkCore.csproj index 0aec27f..04fdf84 100644 --- a/src/Opw.PineBlog.EntityFrameworkCore/Opw.PineBlog.EntityFrameworkCore.csproj +++ b/src/Opw.PineBlog.EntityFrameworkCore/Opw.PineBlog.EntityFrameworkCore.csproj @@ -1,29 +1,29 @@ - - netcoreapp3.1 - PineBlog data provider that uses Entity Framework Core. - true - Opw.PineBlog.EntityFrameworkCore - blog efcore entityframeworkcore - + + netstandard2.1 + PineBlog data provider that uses Entity Framework Core. + true + Opw.PineBlog.EntityFrameworkCore + blog efcore entityframeworkcore + - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + - - - + + + diff --git a/src/Opw.PineBlog.RazorPages/Opw.PineBlog.RazorPages.csproj b/src/Opw.PineBlog.RazorPages/Opw.PineBlog.RazorPages.csproj index 3e8e15b..a6739c6 100644 --- a/src/Opw.PineBlog.RazorPages/Opw.PineBlog.RazorPages.csproj +++ b/src/Opw.PineBlog.RazorPages/Opw.PineBlog.RazorPages.csproj @@ -1,43 +1,50 @@ - - netcoreapp3.1 - true - Opw.PineBlog.RazorPages - PineBlog UI using ASP.NET Core MVC Razor Pages. - true - Opw.PineBlog.RazorPages - blog aspnetcore mvc razor razorpages - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + netcoreapp3.1;net5.0 + true + Opw.PineBlog.RazorPages + PineBlog UI using ASP.NET Core MVC Razor Pages. + true + Opw.PineBlog.RazorPages + blog aspnetcore mvc razor razorpages + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/Opw.PineBlog.Abstractions.Tests/Opw.PineBlog.Abstractions.Tests.csproj b/tests/Opw.PineBlog.Abstractions.Tests/Opw.PineBlog.Abstractions.Tests.csproj index c3fbe75..e26d9ae 100644 --- a/tests/Opw.PineBlog.Abstractions.Tests/Opw.PineBlog.Abstractions.Tests.csproj +++ b/tests/Opw.PineBlog.Abstractions.Tests/Opw.PineBlog.Abstractions.Tests.csproj @@ -1,27 +1,27 @@ - - netcoreapp3.1 - false - Opw.PineBlog - + + netcoreapp3.1;net5.0 + false + Opw.PineBlog + - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - - + + + diff --git a/tests/Opw.PineBlog.Core.Tests/Opw.PineBlog.Core.Tests.csproj b/tests/Opw.PineBlog.Core.Tests/Opw.PineBlog.Core.Tests.csproj index d57a110..2d69e80 100644 --- a/tests/Opw.PineBlog.Core.Tests/Opw.PineBlog.Core.Tests.csproj +++ b/tests/Opw.PineBlog.Core.Tests/Opw.PineBlog.Core.Tests.csproj @@ -1,7 +1,7 @@ - + - netcoreapp3.1 + netcoreapp3.1;net5.0 false Opw.PineBlog @@ -21,8 +21,12 @@ - - + + + + + + diff --git a/tests/Opw.PineBlog.EntityFrameworkCore.Tests/Opw.PineBlog.EntityFrameworkCore.Tests.csproj b/tests/Opw.PineBlog.EntityFrameworkCore.Tests/Opw.PineBlog.EntityFrameworkCore.Tests.csproj index 759c747..3d9107c 100644 --- a/tests/Opw.PineBlog.EntityFrameworkCore.Tests/Opw.PineBlog.EntityFrameworkCore.Tests.csproj +++ b/tests/Opw.PineBlog.EntityFrameworkCore.Tests/Opw.PineBlog.EntityFrameworkCore.Tests.csproj @@ -1,35 +1,43 @@ - - netcoreapp3.1 - false - Opw.PineBlog.EntityFrameworkCore - + + netcoreapp3.1;net5.0 + false + Opw.PineBlog.EntityFrameworkCore + - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - - + + + - - - Always - - + + + + + + + + + + + + Always + + diff --git a/tests/Opw.PineBlog.MongoDb.Tests/Opw.PineBlog.MongoDb.Tests.csproj b/tests/Opw.PineBlog.MongoDb.Tests/Opw.PineBlog.MongoDb.Tests.csproj index 4a9c3a0..0f97fc8 100644 --- a/tests/Opw.PineBlog.MongoDb.Tests/Opw.PineBlog.MongoDb.Tests.csproj +++ b/tests/Opw.PineBlog.MongoDb.Tests/Opw.PineBlog.MongoDb.Tests.csproj @@ -1,37 +1,44 @@ - - netcoreapp3.1 - false - Opw.PineBlog.MongoDb - + + netcoreapp3.1;net5.0 + false + Opw.PineBlog.MongoDb + - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + - - - + + + - - - Always - - + + + + + + + + + + + Always + + diff --git a/tests/Opw.PineBlog.RazorPages.Tests/Opw.PineBlog.RazorPages.Tests.csproj b/tests/Opw.PineBlog.RazorPages.Tests/Opw.PineBlog.RazorPages.Tests.csproj index c25a658..08f9a45 100644 --- a/tests/Opw.PineBlog.RazorPages.Tests/Opw.PineBlog.RazorPages.Tests.csproj +++ b/tests/Opw.PineBlog.RazorPages.Tests/Opw.PineBlog.RazorPages.Tests.csproj @@ -1,28 +1,28 @@ - - netcoreapp3.1 - false - Opw.PineBlog - + + netcoreapp3.1;net5.0 + false + Opw.PineBlog + - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + - - - + + + diff --git a/tests/Opw.PineBlog.Sample.Tests/Opw.PineBlog.Sample.Tests.csproj b/tests/Opw.PineBlog.Sample.Tests/Opw.PineBlog.Sample.Tests.csproj index 2f33e53..e2e3295 100644 --- a/tests/Opw.PineBlog.Sample.Tests/Opw.PineBlog.Sample.Tests.csproj +++ b/tests/Opw.PineBlog.Sample.Tests/Opw.PineBlog.Sample.Tests.csproj @@ -1,46 +1,51 @@ - - netcoreapp3.1 - false - Opw.PineBlog.Sample - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - Always - - + + netcoreapp3.1;net5.0 + false + Opw.PineBlog.Sample + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + + + + Always + +