Skip to content

[BUG] warning NU1608 on adding CommunityToolkit.Maui.Camera in .NET 10 #2943

@peruchali

Description

@peruchali

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

In latest .NET 10, on adding <PackageReference Include="CommunityToolkit.Maui.Camera" Version="5.0.0" />, getting these warnings on building:

warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Fragment.Ktx 1.8.8.1 requires Xamarin.AndroidX.Fragment (>= 1.8.8.1 && < 1.8.9) but version Xamarin.AndroidX.Fragment 1.8.9 was resolved.
warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.Process 2.9.2.1 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.9.2.1 && < 2.9.3) but version Xamarin.AndroidX.Lifecycle.Runtime 2.9.3 was resolved.
warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Fragment.Ktx 1.8.8.1 requires Xamarin.AndroidX.Fragment (>= 1.8.8.1 && < 1.8.9) but version Xamarin.AndroidX.Fragment 1.8.9 was resolved.

Expected Behavior

No warning.

Steps To Reproduce

  1. In VS 2026, create a new .NET MAUI app (.NET 10)
  2. Update NuGet packges to latest (.NET MAUI 10.0.10)
  3. Build, verify build succeeds
  4. In MauiApp1.csproj, add:
<PackageReference Include="CommunityToolkit.Maui.Camera" Version="5.0.0" />
  1. Build

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui/issues

Environment

- .NET MAUI CommunityToolkit:13.0.0
- .NET MAUI CommunityToolkit Camera:5.0.0
- OS:
- .NET MAUI:10.0.10

Anything else?

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions