-
Notifications
You must be signed in to change notification settings - Fork 834
Closed
Labels
difficulty/medium π€Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUICategorizes an issue for which the difficulty level is reachable with a good understanding of WinUIproject/core-tools π οΈCategorizes an issue or PR as relevant to core and toolsCategorizes an issue or PR as relevant to core and tools
Description
Current behavior π
Creating project with .NET 10 as framework and Maui Embedding as feature and building solution for any TFM throws error. Uno-check and uno-check --pre-major is green.
Errors:
Warning As Error: Detected package downgrade: Xamarin.AndroidX.Collection from 1.5.0.3 to 1.5.0.2. Reference the package directly from the project to select a different version.
Net10Maui -> Xamarin.Google.Android.Material 1.12.0.4 -> Xamarin.AndroidX.Core 1.16.0.3 -> Xamarin.AndroidX.Collection (>= 1.5.0.3)
Net10Maui -> Xamarin.AndroidX.Collection (>= 1.5.0.2)
Warning As Error: Detected package downgrade: Xamarin.AndroidX.Activity from 1.10.1.3 to 1.10.1.2. Reference the package directly from the project to select a different version.
Net10Maui -> Xamarin.Google.Android.Material 1.12.0.4 -> Xamarin.AndroidX.Fragment 1.8.8.1 -> Xamarin.AndroidX.Activity (>= 1.10.1.3)
Net10Maui -> Xamarin.AndroidX.Activity (>= 1.10.1.2)
Warning As Error: Detected package downgrade: Xamarin.AndroidX.Navigation.Common from 2.9.2.1 to 2.8.9.2. Reference the package directly from the project to select a different version.
Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Navigation.Common (>= 2.9.2.1)
Net10Maui -> Xamarin.AndroidX.Navigation.Common (>= 2.8.9.2)
Warning As Error: Detected package downgrade: Xamarin.AndroidX.Navigation.Fragment from 2.9.2.1 to 2.8.9.2. Reference the package directly from the project to select a different version.
Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Navigation.Fragment (>= 2.9.2.1)
Net10Maui -> Xamarin.AndroidX.Navigation.Fragment (>= 2.8.9.2)
Warning As Error: Detected package downgrade: Xamarin.AndroidX.Navigation.Runtime from 2.9.2.1 to 2.8.9.2. Reference the package directly from the project to select a different version.
Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Navigation.Runtime (>= 2.9.2.1)
Net10Maui -> Xamarin.AndroidX.Navigation.Runtime (>= 2.8.9.2)
Warning As Error: Detected package downgrade: Xamarin.AndroidX.Navigation.UI from 2.9.2.1 to 2.8.9.2. Reference the package directly from the project to select a different version.
Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Navigation.UI (>= 2.9.2.1)
Net10Maui -> Xamarin.AndroidX.Navigation.UI (>= 2.8.9.2)
Warning As Error: Detected package downgrade: Xamarin.AndroidX.SwipeRefreshLayout from 1.1.0.29 to 1.1.0.28. Reference the package directly from the project to select a different version.
Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.SwipeRefreshLayout (>= 1.1.0.29)
Net10Maui -> Xamarin.AndroidX.SwipeRefreshLayout (>= 1.1.0.28)
Warning As Error: Detected package downgrade: Xamarin.Google.Android.Material from 1.12.0.5 to 1.12.0.4. Reference the package directly from the project to select a different version.
Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.Google.Android.Material (>= 1.12.0.5)
Net10Maui -> Xamarin.Google.Android.Material (>= 1.12.0.4)
Warning As Error: Detected package downgrade: Xamarin.AndroidX.Browser from 1.8.0.11 to 1.8.0.10. Reference the package directly from the project to select a different version.
Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Essentials 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Browser (>= 1.8.0.11)
Net10Maui -> Xamarin.AndroidX.Browser (>= 1.8.0.10)
Detected package version outside of dependency constraint: Xamarin.AndroidX.Fragment.Ktx 1.8.6.2 requires Xamarin.AndroidX.Fragment (>= 1.8.6.2 && < 1.8.7) but version Xamarin.AndroidX.Fragment 1.8.8.1 was resolved.
Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.Runtime.Ktx 2.8.7.4 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.7.4 && < 2.8.8) but version Xamarin.AndroidX.Lifecycle.Runtime 2.9.2.1 was resolved.
Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.ViewModel.Ktx 2.8.7.4 requires Xamarin.AndroidX.Lifecycle.ViewModel (>= 2.8.7.4 && < 2.8.8) but version Xamarin.AndroidX.Lifecycle.ViewModel 2.9.2.1 was resolved.
Detected package version outside of dependency constraint: Xamarin.AndroidX.SavedState.SavedState.Ktx 1.2.1.17 requires Xamarin.AndroidX.SavedState (>= 1.2.1.17 && < 1.2.2) but version Xamarin.AndroidX.SavedState 1.3.1.1 was resolved.
Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android 2.8.7.4 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.7.4 && < 2.8.8) but version Xamarin.AndroidX.Lifecycle.Runtime 2.9.2.1 was resolved.
Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.Process 2.8.7.4 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.7.4 && < 2.8.8) but version Xamarin.AndroidX.Lifecycle.Runtime 2.9.2.1 was resolved.
Build Logs:
Build started at 11:55 PM...
1>------ Build started: Project: Net10Maui, Configuration: Debug Any CPU ------
Failed to restore D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj (in 1.11 sec).
NuGet package restore failed. Please see Error List window for detailed warnings and errors.
1>C:\Program Files\dotnet\sdk\10.0.100-rc.1.25451.107\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(345,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Fragment.Ktx 1.8.6.2 requires Xamarin.AndroidX.Fragment (>= 1.8.6.2 && < 1.8.7) but version Xamarin.AndroidX.Fragment 1.8.8.1 was resolved.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.Runtime.Ktx 2.8.7.4 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.7.4 && < 2.8.8) but version Xamarin.AndroidX.Lifecycle.Runtime 2.9.2.1 was resolved.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.ViewModel.Ktx 2.8.7.4 requires Xamarin.AndroidX.Lifecycle.ViewModel (>= 2.8.7.4 && < 2.8.8) but version Xamarin.AndroidX.Lifecycle.ViewModel 2.9.2.1 was resolved.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.SavedState.SavedState.Ktx 1.2.1.17 requires Xamarin.AndroidX.SavedState (>= 1.2.1.17 && < 1.2.2) but version Xamarin.AndroidX.SavedState 1.3.1.1 was resolved.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android 2.8.7.4 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.7.4 && < 2.8.8) but version Xamarin.AndroidX.Lifecycle.Runtime 2.9.2.1 was resolved.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : warning NU1608: Detected package version outside of dependency constraint: Xamarin.AndroidX.Lifecycle.Process 2.8.7.4 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.7.4 && < 2.8.8) but version Xamarin.AndroidX.Lifecycle.Runtime 2.9.2.1 was resolved.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.Collection from 1.5.0.3 to 1.5.0.2. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.Google.Android.Material 1.12.0.4 -> Xamarin.AndroidX.Core 1.16.0.3 -> Xamarin.AndroidX.Collection (>= 1.5.0.3)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.AndroidX.Collection (>= 1.5.0.2)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.Activity from 1.10.1.3 to 1.10.1.2. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.Google.Android.Material 1.12.0.4 -> Xamarin.AndroidX.Fragment 1.8.8.1 -> Xamarin.AndroidX.Activity (>= 1.10.1.3)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.AndroidX.Activity (>= 1.10.1.2)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.Navigation.Common from 2.9.2.1 to 2.8.9.2. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Navigation.Common (>= 2.9.2.1)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.AndroidX.Navigation.Common (>= 2.8.9.2)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.Navigation.Fragment from 2.9.2.1 to 2.8.9.2. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Navigation.Fragment (>= 2.9.2.1)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.AndroidX.Navigation.Fragment (>= 2.8.9.2)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.Navigation.Runtime from 2.9.2.1 to 2.8.9.2. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Navigation.Runtime (>= 2.9.2.1)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.AndroidX.Navigation.Runtime (>= 2.8.9.2)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.Navigation.UI from 2.9.2.1 to 2.8.9.2. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Navigation.UI (>= 2.9.2.1)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.AndroidX.Navigation.UI (>= 2.8.9.2)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.SwipeRefreshLayout from 1.1.0.29 to 1.1.0.28. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.SwipeRefreshLayout (>= 1.1.0.29)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.AndroidX.SwipeRefreshLayout (>= 1.1.0.28)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.Google.Android.Material from 1.12.0.5 to 1.12.0.4. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Xamarin.Google.Android.Material (>= 1.12.0.5)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.Google.Android.Material (>= 1.12.0.4)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.Browser from 1.8.0.11 to 1.8.0.10. Reference the package directly from the project to select a different version.
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Microsoft.Maui.Controls 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Controls.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Core 10.0.0-rc.1.25452.6 -> Microsoft.Maui.Essentials 10.0.0-rc.1.25452.6 -> Xamarin.AndroidX.Browser (>= 1.8.0.11)
1>D:\VSProjects\Net10Maui\Net10Maui\Net10Maui.csproj : error NU1605: Net10Maui -> Xamarin.AndroidX.Browser (>= 1.8.0.10)
1>Done building project "Net10Maui.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Build completed at 11:55 PM and took 01.443 seconds ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
========== Deploy completed at 11:55 PM and took 01.443 seconds ==========
Expected behavior π―
Solution should get build without any errors
How to reproduce it (as minimally and precisely as possible) π¬
- Open VS Insider 2026
- Create New Project with .NEt 10 as framework and select Maui Embedding as Feature
- Select any TFM
- Build Solution
- Observe build will fail with errors
Workaround π οΈ
No response
Renderer π¨
- Skia
- Native
Affected platforms π±π»π₯οΈ
All platforms π
Uno.Sdk version (and other relevant versions) π¦
sdk/template: 6.3.28
VS VSIX: 6.3.15
IDE version π§βπ»
Visual STudio 2026 Version: 18.0.0 Insiders [11018.127]
Anything else we need to know? π¬
No response
Metadata
Metadata
Assignees
Labels
difficulty/medium π€Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUICategorizes an issue for which the difficulty level is reachable with a good understanding of WinUIproject/core-tools π οΈCategorizes an issue or PR as relevant to core and toolsCategorizes an issue or PR as relevant to core and tools