From 561107b7f8803273ea209e9f33d4fbf94706e172 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 15:37:07 +0000 Subject: [PATCH 1/3] Initial plan From 3b8df47811953e1a34d58fd00a24be29a44e4514 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 15:41:27 +0000 Subject: [PATCH 2/3] Upgrade project to .NET 10 - update all target frameworks, package references, and GitHub Actions workflows Co-authored-by: IeuanWalker <6544051+IeuanWalker@users.noreply.github.com> --- .github/workflows/Release.yml | 2 +- .github/workflows/build.yml | 2 +- Demo/App.csproj | 4 ++-- Scr/IeuanWalker.Maui.StateButton.csproj | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 6f503ea..f95ccf8 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -5,7 +5,7 @@ on: types: [published] env: - NET_VERSION: 9.*.* + NET_VERSION: 10.*.* PROJECT_PATH: 'Scr/IeuanWalker.Maui.StateButton.csproj' NUGET_PATH: './**/IeuanWalker.Maui.StateButton.${{ github.event.release.tag_name }}.nupkg' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4fbae5..0c37e8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ on: - cron: '0 0 1 */3 *' # Every 3 months env: - NET_VERSION: 9.*.* + NET_VERSION: 10.*.* PROJECT_PATH: 'Scr/IeuanWalker.Maui.StateButton.csproj' NUGET_PATH: './**/IeuanWalker.Maui.StateButton.1.0.0.nupkg' diff --git a/Demo/App.csproj b/Demo/App.csproj index 3772ef2..97f6573 100644 --- a/Demo/App.csproj +++ b/Demo/App.csproj @@ -1,6 +1,6 @@  - net9.0-android;net9.0-ios; + net10.0-android;net10.0-ios; Exe App true @@ -40,7 +40,7 @@ - + diff --git a/Scr/IeuanWalker.Maui.StateButton.csproj b/Scr/IeuanWalker.Maui.StateButton.csproj index 30f3b54..1217742 100644 --- a/Scr/IeuanWalker.Maui.StateButton.csproj +++ b/Scr/IeuanWalker.Maui.StateButton.csproj @@ -1,6 +1,6 @@ - net9.0;net9.0-android;net9.0-ios; + net10.0;net10.0-android;net10.0-ios; true true enable @@ -48,11 +48,11 @@ - + - + @@ -65,6 +65,6 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + \ No newline at end of file From 52724ac757ab2c27110d85c2aaeaabe42a02085e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 12 Nov 2025 16:52:01 +0000 Subject: [PATCH 3/3] Update GitHub Actions to v4 to fix deprecated artifact actions Co-authored-by: IeuanWalker <6544051+IeuanWalker@users.noreply.github.com> --- .github/workflows/Release.yml | 6 +++--- .github/workflows/build.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index f95ccf8..e884184 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -14,10 +14,10 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET ${{ env.NET_VERSION }} - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NET_VERSION }} @@ -30,7 +30,7 @@ jobs: - name: Build run: dotnet build ${{ env.PROJECT_PATH }} -c Release /p:Version=${{ github.event.release.tag_name }} --no-restore - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: NuGet path: ${{ env.NUGET_PATH }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0c37e8c..eb1765d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,10 +18,10 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET ${{ env.NET_VERSION }} - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ env.NET_VERSION }} @@ -34,7 +34,7 @@ jobs: - name: Build run: dotnet build ${{ env.PROJECT_PATH }} -c Release --no-restore - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: NuGet path: ${{ env.NUGET_PATH }}