Skip to content

[testing] Error in Testing related to ignoring sample tests for GA #32151

@rmarinho

Description

@rmarinho

Description

This issue is to follow up on a testing error observed in net10 GA builds, we comment the test for now (Ignore sample tests for GA).

Our sample tests use Community toolkit that is pin to net9, so when we use GA stable versions the tests fail. We will ignore for now and will need to follow up by CT team.

Steps to Reproduce

  1. Review the changes in PR #32150.
  2. Execute the testing workflow as done in CI after these changes.
  3. Observe the error that occurs related to sample tests.

Expected: Tests should be properly ignored for GA without errors.
Actual: An error is seen in the CI/testing process after ignoring sample tests.

Link to public reproduction project repository

No response

Version with bug

10.0.0-rc.2

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

9.0.120 SR12

Affected platforms

I was not able test on other platforms

Affected platform versions

No response

Did you find any workaround?

No workaround identified yet.

Relevant log output

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).

Metadata

Metadata

Assignees

Labels

area-testingUnit tests, device testss/triagedIssue has been reviewedt/bugSomething isn't workingtesting-infrastructureIssue relating to testing infrastructure

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions