Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 12, 2025

Upgrade Maui.StateButton to .NET 10

This PR upgrades the project from .NET 9 to .NET 10.

Changes completed:

  • Update StateButton main project (Scr/IeuanWalker.Maui.StateButton.csproj) to target net10.0
    • Changed TargetFrameworks from net9.0/net9.0-android/net9.0-ios to net10.0/net10.0-android/net10.0-ios
    • Updated Microsoft.Maui.Controls from 9.0.10 to 10.0.10
    • Updated conditional compilation directives for net10.0-ios and net10.0-android
  • Update Demo .NET MAUI app (Demo/App.csproj) to target net10.0
    • Changed TargetFrameworks from net9.0-android/net9.0-ios to net10.0-android/net10.0-ios
    • Updated Microsoft.Maui.Controls from 9.0.10 to 10.0.10
  • Update GitHub Actions build workflow (.github/workflows/build.yml) to use .NET 10
    • Changed NET_VERSION from 9.. to 10..
    • Updated actions/checkout from v3 to v4
    • Updated actions/setup-dotnet from v2 to v4
    • Updated actions/upload-artifact from v3 to v4
  • Update GitHub Actions release workflow (.github/workflows/Release.yml) to use .NET 10
    • Changed NET_VERSION from 9.. to 10..
    • Updated actions/checkout from v3 to v4
    • Updated actions/setup-dotnet from v2 to v4
    • Updated actions/upload-artifact from v3 to v4

Summary:

All project files and GitHub Actions workflows have been successfully upgraded to target .NET 10. The changes include:

  • Target framework updates to net10.0, net10.0-android, and net10.0-ios
  • Microsoft.Maui.Controls package updated to version 10.0.10
  • GitHub Actions workflows configured to use .NET 10 SDK
  • GitHub Actions updated to v4 to fix deprecated artifact actions (v3 was deprecated and scheduled for removal)
  • Platform-specific conditional compilation directives updated for .NET 10
Original prompt

This section details on the original issue you should resolve

<issue_title>.NET 10</issue_title>
<issue_description>Upgrade the project to target .net 10

The following projects need updating -

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…ferences, and GitHub Actions workflows

Co-authored-by: IeuanWalker <6544051+IeuanWalker@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade project to target .NET 10 Upgrade to .NET 10 Nov 12, 2025
Copilot AI requested a review from IeuanWalker November 12, 2025 15:44
@IeuanWalker IeuanWalker marked this pull request as ready for review November 12, 2025 16:45
@IeuanWalker
Copy link
Owner

@copilot github actions might fail becuase of this -

Error: This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v3. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Co-authored-by: IeuanWalker <6544051+IeuanWalker@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 12, 2025

@copilot github actions might fail becuase of this -

Error: This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v3. Learn more: https://git...

Fixed in commit 52724ac. Updated all GitHub Actions to v4:

  • actions/checkout@v3actions/checkout@v4
  • actions/setup-dotnet@v2actions/setup-dotnet@v4
  • actions/upload-artifact@v3actions/upload-artifact@v4

This resolves the deprecation warnings and ensures the workflows will continue to work after v3 artifact actions are removed.

@IeuanWalker IeuanWalker merged commit 9b5430b into master Nov 12, 2025
2 checks passed
@IeuanWalker IeuanWalker deleted the copilot/upgrade-to-dotnet-10 branch November 12, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.NET 10

2 participants