From 28735dbfc06fa995a4c63b974724af4b1a726d99 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Tue, 18 Feb 2025 19:53:16 +0000 Subject: [PATCH] Updating to .NET 9 --- .devcontainer/Dockerfile | 2 +- .devcontainer/devcontainer.json | 2 +- .github/workflows/continuous-integration-workflow.yml | 8 ++++---- global.json | 2 +- .../WebApplicationFillForm/WebApplicationFillForm.csproj | 2 +- src/Kevsoft.PDFtk/Kevsoft.PDFtk.csproj | 2 +- test/Kevsoft.PDFtk.Tests/Kevsoft.PDFtk.Tests.csproj | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 3ba55b4..3abc5e1 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -ARG SDK_VERSION="8.0" +ARG SDK_VERSION="9.0" FROM mcr.microsoft.com/dotnet/sdk:${SDK_VERSION} RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9545ca3..2ef130b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "build": { "dockerfile": "Dockerfile", "args": { - "SDK_VERSION": "8.0", + "SDK_VERSION": "9.0", } }, "customizations": { diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 02b7c65..3f6d9a6 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -22,14 +22,14 @@ jobs: choco install pdftk-server echo "C:\Program Files (x86)\PDFtk Server\bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - uses: actions/checkout@v4 - - name: Setup .NET 6 - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 6.0.x - name: Setup .NET 8 uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.x + - name: Setup .NET 9 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/global.json b/global.json index 501e79a..d5bf446 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.100", + "version": "9.0.100", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/samples/WebApplicationFillForm/WebApplicationFillForm.csproj b/samples/WebApplicationFillForm/WebApplicationFillForm.csproj index 20deae0..ce0f56d 100644 --- a/samples/WebApplicationFillForm/WebApplicationFillForm.csproj +++ b/samples/WebApplicationFillForm/WebApplicationFillForm.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 58e1799c-a4c0-41aa-9399-ac70ecee6ba2 Linux ..\.. diff --git a/src/Kevsoft.PDFtk/Kevsoft.PDFtk.csproj b/src/Kevsoft.PDFtk/Kevsoft.PDFtk.csproj index 3d013b1..2d4e69d 100644 --- a/src/Kevsoft.PDFtk/Kevsoft.PDFtk.csproj +++ b/src/Kevsoft.PDFtk/Kevsoft.PDFtk.csproj @@ -1,7 +1,7 @@ - netstandard2.0;netstandard2.1;net6.0;net8.0 + netstandard2.0;netstandard2.1;net8.0;net9.0; diff --git a/test/Kevsoft.PDFtk.Tests/Kevsoft.PDFtk.Tests.csproj b/test/Kevsoft.PDFtk.Tests/Kevsoft.PDFtk.Tests.csproj index 3d30bca..0aa8b89 100644 --- a/test/Kevsoft.PDFtk.Tests/Kevsoft.PDFtk.Tests.csproj +++ b/test/Kevsoft.PDFtk.Tests/Kevsoft.PDFtk.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 false