Repository navigation
Closed
Labels
csi-newi/regressionThis issue described a confirmed regression on a currently supported versionp/0Current heighest priority issues that we are targeting for a release.platform/macosmacOS / Mac Catalystplatform/windowst/bugSomething isn't working
Milestone
Description
Description
Creating new MAUI Sample App fails to restore with NU1107 error
Steps to Reproduce
- Install the .NET 10 GA from here or windows: here and mac: here. Alternatively, you can use the PR Build for windows validation.
- Install MAUI workload from the rollback file along with the necessary feeds: rollback.json
- Create an empty folder and open it on terminal/CMD
- Run the command
dotnet new maui --sample-content - Project fails to be restored with 2 warnings and 1 error.
Actual Behavior:
Project fails to be restored with 2 warnings and 1 error.
Restoring /Users/vstester/Desktop/untitled folder 3/sample/sample.csproj:
/Users/vstester/Desktop/untitled folder 3/sample/sample.csproj : warning NU1608: 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/vstester/Desktop/untitled folder 3/sample/sample.csproj : warning NU1608: 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/vstester/Desktop/untitled folder 3/sample/sample.csproj : error NU1107: Version conflict detected for Microsoft.Maui.Essentials. Install/reference Microsoft.Maui.Essentials 10.0.0 directly to project sample to resolve this issue .sample -> 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) sample -> CommunityToolkit.Maui 11.1.1 -> CommunityToolkit.Maui.Core 11.1.1 -> Microsoft.Maui.Essentials (>= 9.0.30 && < 10.0.0).
Restore failed.
Post action failed.
Screen.Recording.2025-10-24.at.5.12.08.PM.mov
Expected Behavior:
Project can be successfully created without any warnings or errors.
Version with bug
.NET SDK 10.0.100
Is this a regression from previous behavior?
Yes, this is a regression. The issue cannot be repro on .NET SDK version 10.0.100-rc.2.25502.107.
Affected platforms
Windows, macOS
Metadata
Metadata
Assignees
Labels
csi-newi/regressionThis issue described a confirmed regression on a currently supported versionp/0Current heighest priority issues that we are targeting for a release.platform/macosmacOS / Mac Catalystplatform/windowst/bugSomething isn't working
Activity
jfversluis commentedon Oct 24, 2025
This is due to the .NET MAUI Community Toolkit not having a .NET MAUI 10 compatible version yet. Blocked by that for the time being. This will probably be released close to .NET 10 GA.
jonathanpeppers commentedon Oct 27, 2025
Does this workaround the error?
As a backup plan, we can list as a known issue.
Marnie-Majait commentedon Oct 28, 2025
I've tried to add this after creating the project, the restore, build and debug succeeded, however the warnings are still there: