No splash screen on Windows #3870
Labels
area-single-project
Splash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizer
platform/windows 🪟
t/bug
Something isn't working
t/desktop
The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
Description
Using .NET MAUI Preview 10 I created a new demo app using Shell: irongut/MauiBeach
My app contains a custom splash screen:
This looks great on Android & iOS but did not appear when debugging on Windows 10. At the time I assumed MAUI does not display a splash screen on Windows beause the app runs so quickly.
While updating to .NET MAUI Preview 11 I started seeing this error:
DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(33,27): error 0x80070002: Cannot install or update package 742DEB53-31C9-44E1-9020-6A7B01205723_9zz4h110yvjzm because the splash screen image [appiconfgSplashScreen.png] cannot be located. Verify that the package contains an image that can be used as a splash screen for the application, and that the package manifest points to the correct location in the package where this splash screen image can be found.
(I'm not exactly sure when that started happening so it might not be Preview 11 related.)
Digging into
Platforms\Windows\Package.appxmanifest
I found this line which sets the splash screen to the default image but with a slightly different name:This was not updated automatically from the
MauiSplashScreen
property in my project file. I was able to get my app running by manually changing it to:But I still don't see my splash screen when I run my app on Windows 10. I also don't see the default splash screen when I run a new MAUI app on Windows 10.
Should I see a splash screen on Windows? Also something seems to be broken when setting the splash screen image for the Windows platform.
Steps to Reproduce
Version with bug
Preview 11
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10 Pro 21H1
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: