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
Description
Creating new MAUI Sample App fails to restore with NU1107 error
Steps to Reproduce
dotnet new maui --sample-contentActual Behavior:
Project fails to be restored with 2 warnings and 1 error.
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