Skip to content

[.NET 10] CLI - Creating new MAUI Blazor Sample App from CLI is .NET 9 by default #32197

@Marnie-Majait

Description

@Marnie-Majait

Description

Creating new MAUI Blazor Sample App from CLI is .NET 9 by default

Steps to Reproduce

  1. Install the .NET 10 GA from here
  2. Install MAUI workload from the rollback file along with the necessary feeds: rollback.json
  3. Create an empty folder and open it on terminal/CMD
  4. Run the command dotnet new maui-blazor --Empty
  5. Go back to the folder and open the csproj on VS/VS Code
  6. Observe that the default .NET SDK is .NET 9 instead of .NET 10

Actual Behavior:
The default .NET SDK version on the created MAUI Blazor Sample app from CLI is .NET 9

Screen.Recording.2025-10-24.at.5.19.51.PM.mov

Expected Behavior:
The default .NET SDK version should match the SDK and MAUI version, in this case, .NET 10.

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

No one assigned

    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

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions