From 59c25b6edb6188b530f88b7a636ed2de9d4ec875 Mon Sep 17 00:00:00 2001 From: martincostello Date: Mon, 27 Feb 2023 16:47:51 +0000 Subject: [PATCH 1/3] Update to .NET 8 preview 1 - Update to preview 1 of .NET 8. - Fix new code analysis warnings. --- .github/workflows/build.yml | 2 +- .vsconfig | 2 +- Directory.Packages.props | 2 +- README.md | 2 +- global.json | 2 +- .../MartinCostello.Logging.XUnit.Tests.csproj | 2 +- tests/SampleApp/SampleApp.csproj | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1048e10..5d7687b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: - uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3 name: Upload coverage to Codecov with: - file: ./artifacts/coverage.net7.0.cobertura.xml + file: ./artifacts/coverage.net8.0.cobertura.xml flags: ${{ matrix.os_name }} - name: Publish artifacts diff --git a/.vsconfig b/.vsconfig index 06e10617..a991ed17 100644 --- a/.vsconfig +++ b/.vsconfig @@ -3,7 +3,7 @@ "components": [ "Microsoft.VisualStudio.Component.CoreEditor", "Microsoft.VisualStudio.Workload.CoreEditor", - "Microsoft.NetCore.Component.Runtime.7.0", + "Microsoft.NetCore.Component.Runtime.8.0", "Microsoft.NetCore.Component.SDK", "Microsoft.VisualStudio.Component.Roslyn.Compiler", "Microsoft.VisualStudio.Component.Roslyn.LanguageServices" diff --git a/Directory.Packages.props b/Directory.Packages.props index 9d74e742..d436c9fc 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,7 +2,7 @@ - + diff --git a/README.md b/README.md index d25a1f75..17888ec4 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ This project is licensed under the [Apache 2.0](http://www.apache.org/licenses/L ## Building and Testing -Compiling the library yourself requires Git and the [.NET SDK](https://www.microsoft.com/net/download/core "Download the .NET SDK") to be installed (version `7.0.100` or later). +Compiling the library yourself requires Git and the [.NET SDK](https://www.microsoft.com/net/download/core "Download the .NET SDK") to be installed (version `8.0.100` or later). To build and test the library locally from a terminal/command-line, run one of the following set of commands: diff --git a/global.json b/global.json index 6d09f227..6f0b2989 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "7.0.203", + "version": "8.0.100-preview.1.23115.2", "allowPrerelease": false, "rollForward": "latestMajor" } diff --git a/tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj b/tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj index 8a1a6a11..1f803190 100644 --- a/tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj +++ b/tests/Logging.XUnit.Tests/MartinCostello.Logging.XUnit.Tests.csproj @@ -7,7 +7,7 @@ true MartinCostello.Logging.XUnit $(Description) - net7.0 + net8.0 diff --git a/tests/SampleApp/SampleApp.csproj b/tests/SampleApp/SampleApp.csproj index 7590a899..6f893300 100644 --- a/tests/SampleApp/SampleApp.csproj +++ b/tests/SampleApp/SampleApp.csproj @@ -2,6 +2,6 @@ false $(NoWarn);CA1801;CA1822;SA1600 - net7.0 + net8.0 From 796a6b4c844fd52d2059c18ce92d0af6e1acdb12 Mon Sep 17 00:00:00 2001 From: martincostello Date: Tue, 14 Mar 2023 17:17:16 +0000 Subject: [PATCH 2/3] Update to .NET 8 preview 2 Update to preview 2 of .NET 8. --- Directory.Packages.props | 2 +- global.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index d436c9fc..e7c91bf2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,7 +2,7 @@ - + diff --git a/global.json b/global.json index 6f0b2989..c7bd2969 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.100-preview.1.23115.2", + "version": "8.0.100-preview.2.23157.25", "allowPrerelease": false, "rollForward": "latestMajor" } From 9a703a06cca032727777257e11cf18f902328c38 Mon Sep 17 00:00:00 2001 From: martincostello Date: Tue, 11 Apr 2023 19:11:21 +0100 Subject: [PATCH 3/3] Update to .NET 8 preview 3 Update to preview 3 of .NET 8. --- Directory.Packages.props | 2 +- global.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index e7c91bf2..10162183 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,7 +2,7 @@ - + diff --git a/global.json b/global.json index c7bd2969..1afce8dd 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.100-preview.2.23157.25", + "version": "8.0.100-preview.3.23178.7", "allowPrerelease": false, "rollForward": "latestMajor" }