You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a new .NET MAUI app and attempt to publish for Windows, it will fail with:
Unable to find package Microsoft.NETCore.App.Runtime.Mono.win-x64 with version (= 9.0.1)
This is because 9.0.x versions of Microsoft.NETCore.App.Runtime.Mono don't exist, they stopped after 9.0.0 Preview 7. The workaround is to add the property "UseMonoRuntime=false".
UseMonoRuntime=false should be the default in this case.
Unable to find package Microsoft.NETCore.App.Runtime.Mono.win-x64 with version (= 9.0.1)
- Found 103 version(s) in nuget.org [ Nearest version: 9.0.0-preview.7.24405.7 ]
- ...
Link to public reproduction project repository
No response
Version with bug
9.0.30 SR3
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.0-preview.7.24407.4
Affected platforms
Windows
Affected platform versions
All
Did you find any workaround?
Append "-p:UseMonoRuntime=false" to the command line arguments.
Relevant log output
The text was updated successfully, but these errors were encountered:
Description
If you create a new .NET MAUI app and attempt to publish for Windows, it will fail with:
Unable to find package Microsoft.NETCore.App.Runtime.Mono.win-x64 with version (= 9.0.1)
This is because 9.0.x versions of Microsoft.NETCore.App.Runtime.Mono don't exist, they stopped after 9.0.0 Preview 7. The workaround is to add the property "UseMonoRuntime=false".
UseMonoRuntime=false should be the default in this case.
Steps to Reproduce
Result: Fails
Unable to find package Microsoft.NETCore.App.Runtime.Mono.win-x64 with version (= 9.0.1)
- Found 103 version(s) in nuget.org [ Nearest version: 9.0.0-preview.7.24405.7 ]
- ...
Link to public reproduction project repository
No response
Version with bug
9.0.30 SR3
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.0-preview.7.24407.4
Affected platforms
Windows
Affected platform versions
All
Did you find any workaround?
Append "-p:UseMonoRuntime=false" to the command line arguments.
Relevant log output
The text was updated successfully, but these errors were encountered: