-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
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
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