Directly executing the Run command on the .NET MAUI App on the Windows platform in .NET 8 Preview 2 ends up in an error #13942
Labels
area-publishing
Issues with the app packaging/publishing process (ipk/apk/msix/trimming)
blocked
Work that is currently blocked
external
legacy-area-desktop
Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls))
partner/winui
WinUI / Project Reunion
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
t/desktop
The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
Milestone
Description
Directly executing the Run command on the .NET MAUI App on the Windows platform as an Unpackaged App in .NET 8 Preview 2 ends up in an error.
Whereas building and then executing the project as a two-step action works fine.
The direct-run approach worked fine in Preview 1. A separate build step was not required in the earlier preview.
Steps to Reproduce
First, execute the Run command directly to visualize the error. Then issue the Build command and then the Run command again.
Run command:
Build command:
Link to public reproduction project repository
Default template itself is suffice, no authored code
Version with bug
8.0 previews
Last version that worked well
8.0 previews
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.19041
Did you find any workaround?
First, build and then run the project.
Relevant log output
Depends on
The text was updated successfully, but these errors were encountered: