Skip to content

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

Open

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area-single-projectSplash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizerplatform/windows 🪟t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions