Skip to content

The Net Maui Blazor Hybrid project cannot be packaged #64927

@liangfangyin2

Description

@liangfangyin2

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The Net Maui Blazor Hybrid project cannot be packaged
The project I developed using VS2026 is based on the Net10 framework. When I try to package it using the command line, I get an error prompt
Command line:
dotnet publish -c Release -f net10.0-windows10.0.19041.0 -r win-x64

Error returned:

E:\tower-stone-configuration-tool\web\Tool\Tool\Tool.csproj : error NU1102:
I cannot find the package Microsoft.NETCore.App.Runtime.Mono.win-x64 with version (= 10.0.1)
- Found 113 versions on nuget.org [Nearest version: 9.0.0-preview.7.24405.7]
- No versions found in Microsoft Visual Studio Offline Packages
- No versions found in C:\Program Files\dotnet\library-packs
-
I encountered the same error when switching to the Net9 framework later. Finally, I switched to Net8, but unfortunately, VS 2026 cannot run the Maui Blazor Hybrid project for Net8 now
How to solve this problem is extremely urgent

Expected Behavior

I hope to release version 10.0.1 of Microsoft.NETCore.App.Runtime.Mono.win-x64 or find other solutions

Image Image

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

dotnet publish -c Release -f net10.0-windows10.0.19041.0 -r win-x64

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Author FeedbackThe author of this issue needs to respond in order for us to continue investigating this issue.Needs: ReproIndicates that the team needs a repro project to continue the investigation on this issuearea-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions