From e90f24c790a9a3d6c3ff92311b1e5a6d46c09df0 Mon Sep 17 00:00:00 2001 From: Tommi Golinelli Date: Wed, 17 Jan 2024 17:24:58 +0100 Subject: [PATCH] Build upgraded to use net8 in pipeline and version 3.0.x --- .github/workflows/dotnet.yml | 2 +- appveyor.yml | 6 +++--- src/BenchmarkProject/BenchmarkProject.csproj | 2 +- src/System.Net.IPNetwork/System.Net.IPNetwork.csproj | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 07443a3b..fbe42007 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Install dependencies run: dotnet tool install --global coveralls.net - name: Restore dependencies diff --git a/appveyor.yml b/appveyor.yml index fe5f47fa..aa8566d1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: '2.6.{build}' +version: '3.0.{build}' image: Visual Studio 2022 assembly_info: @@ -41,8 +41,8 @@ build_script: - cmd: dotnet build -c release ./src/ConsoleApplication test_script: - - cmd: dotnet test ./src/TestProject/TestProject.csproj --settings ./src/TestProject/coverlet.runsettings -f "net6.0" - - vstest.console /logger:Appveyor c:\Projects\ipnetwork\src\TestProject\bin\Debug\net6.0\TestProject.dll + - cmd: dotnet test ./src/TestProject/TestProject.csproj --settings ./src/TestProject/coverlet.runsettings -f "net8.0" + - vstest.console /logger:Appveyor c:\Projects\ipnetwork\src\TestProject\bin\Debug\net8.0\TestProject.dll - ps: copy ./src/TestProject/TestResults/**/coverage.opencover.xml ./src/TestProject/TestResults - csmacnz.Coveralls.exe --opencover -i C:\projects\ipnetwork\src\TestProject\TestResults\coverage.opencover.xml --useRelativePaths diff --git a/src/BenchmarkProject/BenchmarkProject.csproj b/src/BenchmarkProject/BenchmarkProject.csproj index f79a6b1d..c34f1bc2 100644 --- a/src/BenchmarkProject/BenchmarkProject.csproj +++ b/src/BenchmarkProject/BenchmarkProject.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/src/System.Net.IPNetwork/System.Net.IPNetwork.csproj b/src/System.Net.IPNetwork/System.Net.IPNetwork.csproj index 7ddb297f..1c752b4c 100644 --- a/src/System.Net.IPNetwork/System.Net.IPNetwork.csproj +++ b/src/System.Net.IPNetwork/System.Net.IPNetwork.csproj @@ -5,7 +5,7 @@ netstandard2.0;netstandard2.1;netcoreapp3.1;net6.0;net8.0 true IPNetwork2 - 2.6.0 + 3.0.0 false https://github.com/lduchosal/ipnetwork/blob/master/LICENSE https://github.com/lduchosal/ipnetwork