From 8fdf515d43375664884717e09cb7dc8a9bde470c Mon Sep 17 00:00:00 2001 From: Leszek Pomianowski <13592821+pomianowski@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:27:19 +0100 Subject: [PATCH] Add support for .NET 9 --- .devcontainer/devcontainer.json | 2 +- .github/workflows/top-issues-dashboard.yml | 2 +- .github/workflows/wpf-ui-cd-docs.yaml | 4 ++-- .github/workflows/wpf-ui-cd-extension.yaml | 2 +- .github/workflows/wpf-ui-cd-nuget.yaml | 6 ++++-- .github/workflows/wpf-ui-pr-validator.yaml | 4 ++-- Directory.Build.props | 4 ++-- src/Wpf.Ui.Abstractions/Wpf.Ui.Abstractions.csproj | 2 +- .../Wpf.Ui.DependencyInjection.csproj | 4 ++-- src/Wpf.Ui.FontMapper/Wpf.Ui.FontMapper.csproj | 2 +- src/Wpf.Ui.Gallery/Wpf.Ui.Gallery.csproj | 2 +- src/Wpf.Ui.SyntaxHighlight/Wpf.Ui.SyntaxHighlight.csproj | 2 +- .../Wpf.Ui.ToastNotifications.csproj | 2 +- src/Wpf.Ui.Tray/Wpf.Ui.Tray.csproj | 2 +- src/Wpf.Ui/Wpf.Ui.csproj | 2 +- .../Wpf.Ui.Gallery.UnitTests.csproj | 2 +- tests/Wpf.Ui.UnitTests/Wpf.Ui.UnitTests.csproj | 2 +- 17 files changed, 24 insertions(+), 22 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0bf4a912c..b9e1e2ce1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "WPF UI Docs Dev Container", - "image": "mcr.microsoft.com/dotnet/sdk:8.0", + "image": "mcr.microsoft.com/dotnet/sdk:9.0", "features": { "ghcr.io/devcontainers/features/node:1": { "version": "20" diff --git a/.github/workflows/top-issues-dashboard.yml b/.github/workflows/top-issues-dashboard.yml index 16185e714..f1c3ffbf6 100644 --- a/.github/workflows/top-issues-dashboard.yml +++ b/.github/workflows/top-issues-dashboard.yml @@ -1,4 +1,4 @@ -name: Top issues action. +name: wpf-ui-top-issues-dashboard on: schedule: - cron: '0 0 */1 * *' diff --git a/.github/workflows/wpf-ui-cd-docs.yaml b/.github/workflows/wpf-ui-cd-docs.yaml index f6b39b482..1464f4dc6 100644 --- a/.github/workflows/wpf-ui-cd-docs.yaml +++ b/.github/workflows/wpf-ui-cd-docs.yaml @@ -33,10 +33,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18.x - - name: Setup .NET Core SDK 8.x + - name: Setup .NET Core SDK 9.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.x + dotnet-version: 9.x - name: Install docfx run: dotnet tool update -g docfx diff --git a/.github/workflows/wpf-ui-cd-extension.yaml b/.github/workflows/wpf-ui-cd-extension.yaml index 6bd56b3c9..2635972b5 100644 --- a/.github/workflows/wpf-ui-cd-extension.yaml +++ b/.github/workflows/wpf-ui-cd-extension.yaml @@ -4,7 +4,7 @@ on: push: branches: [main] paths: - - 'src/Wpf.Ui.Extension**` + - 'src/Wpf.Ui.Extension**' workflow_dispatch: diff --git a/.github/workflows/wpf-ui-cd-nuget.yaml b/.github/workflows/wpf-ui-cd-nuget.yaml index a49cb274e..f47d13215 100644 --- a/.github/workflows/wpf-ui-cd-nuget.yaml +++ b/.github/workflows/wpf-ui-cd-nuget.yaml @@ -3,6 +3,8 @@ name: wpf-ui-cd-nuget on: push: branches: [main] + paths: + - 'src/**' workflow_dispatch: @@ -17,10 +19,10 @@ jobs: - uses: nuget/setup-nuget@v2 with: nuget-api-key: ${{ secrets.NUGET_API_KEY }} - - name: Setup .NET Core SDK 8.x + - name: Setup .NET Core SDK 9.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.x + dotnet-version: 9.x - name: Fetch the certificate run: | diff --git a/.github/workflows/wpf-ui-pr-validator.yaml b/.github/workflows/wpf-ui-pr-validator.yaml index c2e4fa698..7a641dcac 100644 --- a/.github/workflows/wpf-ui-pr-validator.yaml +++ b/.github/workflows/wpf-ui-pr-validator.yaml @@ -17,10 +17,10 @@ jobs: - uses: nuget/setup-nuget@v2 with: nuget-api-key: ${{ secrets.NUGET_API_KEY }} - - name: Setup .NET Core SDK 8.x + - name: Setup .NET Core SDK 9.x uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.x + dotnet-version: 9.x - name: Install dependencies run: dotnet restore diff --git a/Directory.Build.props b/Directory.Build.props index f3160f4fa..cf67c770c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,7 +6,7 @@ - 4.0.0-rc.2 + 4.0.0-rc.3 4.0.0 @@ -41,7 +41,7 @@ true - 12.0 + 13.0 enable