dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.24k stars 1.76k forks source link

[Windows, 9.0 Preview 6] SplashScreen icon is randomly left out of the package #23576

Open janne-hmp opened 4 months ago

janne-hmp commented 4 months ago

Description

When checking the Windows App Certification Toolkit (see the last line), we noticed that splash screen was randomly missing from one of the package versions going to Microsoft Store (which means the app would not start):

image

This has been randomly happening when building with Visual Studio, but this package was build with dotnet build (in release configuration). The build process did not report any problems.

This may be related to the problem of multiple build processes starting, see #23495 .

Steps to Reproduce

Build a Windows package for GnollHackM. Maybe every other time the splash screen icon is missing from the package when build with Visual Studio, and pretty randomly when built with dotnet build. This may be fixed by closing Visual Studio before building with dotnet build, but I haven't tested this enough yet due to the random nature of the omission.

Link to public reproduction project repository

https://github.com/hyvanmielenpelit/GnollHack

Version with bug

9.0.0-preview.6.24327.7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 11

Did you find any workaround?

Closing Visual Studio first, and then building with dotnet build may potentially help here, too, see #23495 . Also, we added an AfterTargets target to the build process that copies the backup splash screen icons from Assets directory to the right place in the obj directory to make sure they indeed are there.

Relevant log output

No response

github-actions[bot] commented 4 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.