Skip to content

Conversation

@rmarinho
Copy link
Member

@rmarinho rmarinho commented Oct 22, 2025

Description of Change

Sample tests are failing because Community Toolkit doesn't support net10.0 GA

Related issue:
#32151

Users/builder/azdo/_work/_temp/test-dir/Buildmauinet100144212026/Buildmauinet100144212026.csproj : error NU1608: Warning As Error: Detected package version outside of dependency constraint: CommunityToolkit.Maui 11.1.1 requires Microsoft.Maui.Controls (>= 9.0.30 && < 10.0.0) but version Microsoft.Maui.Controls 10.0.0 was resolved.
/Users/builder/azdo/_work/_temp/test-dir/Buildmauinet100144212026/Buildmauinet100144212026.csproj : error NU1608: Warning As Error: Detected package version outside of dependency constraint: CommunityToolkit.Maui.Core 11.1.1 requires Microsoft.Maui.Core (>= 9.0.30 && < 10.0.0) but version Microsoft.Maui.Core 10.0.0 was resolved.
/Users/builder/azdo/_work/_temp/test-dir/Buildmauinet100144212026/Buildmauinet100144212026.csproj : error NU1107: Version conflict detected for Microsoft.Maui.Essentials. Install/reference Microsoft.Maui.Essentials 10.0.0 directly to project Buildmauinet100144212026 to resolve this issue. 
/Users/builder/azdo/_work/_temp/test-dir/Buildmauinet100144212026/Buildmauinet100144212026.csproj : error NU1107:  Buildmauinet100144212026 -> Microsoft.Maui.Controls 10.0.0 -> Microsoft.Maui.Controls.Core 10.0.0 -> Microsoft.Maui.Core 10.0.0 -> Microsoft.Maui.Essentials (>= 10.0.0) 
/Users/builder/azdo/_work/_temp/test-dir/Buildmauinet100144212026/Buildmauinet100144212026.csproj : error NU1107:  Buildmauinet100144212026 -> CommunityToolkit.Maui 11.1.1 -> CommunityToolkit.Maui.Core 11.1.1 -> Microsoft.Maui.Essentials (>= 9.0.30 && < 10.0.0).

Copilot AI review requested due to automatic review settings October 22, 2025 11:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR temporarily disables sample content template tests for .NET 10.0 GA due to a dependency conflict with CommunityToolkit.Maui, which currently only supports .NET MAUI 9.x and is incompatible with the 10.0.0 release.

Key Changes:

  • Three test cases using --sample-content flag are commented out to prevent build failures
  • Tests will be re-enabled once CommunityToolkit.Maui releases a version compatible with .NET 10.0

@rmarinho
Copy link
Member Author

/backport to release/10.0.1xx

@github-actions
Copy link
Contributor

Started backporting to release/10.0.1xx: https://github.com/dotnet/maui/actions/runs/18715968500

Added a TODO comment regarding re-enabling tests for .NET 10 support.
@rmarinho rmarinho added area-testing Unit tests, device tests testing-reenable labels Oct 22, 2025
@rmarinho rmarinho added this to the .NET 10.0 GA milestone Oct 22, 2025
@rmarinho rmarinho merged commit 0f8a40d into net10.0 Oct 22, 2025
136 of 164 checks passed
@rmarinho rmarinho deleted the ignore-sample-tests branch October 22, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-testing Unit tests, device tests testing-reenable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants