I completely reinstalled Windows 11 Pro into a new VM, installed all updates, and then installed VS 2022 Community 17.3.2.
Then I created an empty UWP project, with a 'Hello World!' TextBlock. I associated the app with a store app and was able to create the package bundle (file TestApp1_1.0.1.0_x86_x64_arm_arm64_bundle.msixupload).
After that I started the test with the WACK tool. I have the WACK version 10.0.19041.685. Unfortunately the WACK test does not pass. Normally the app is started 3 times during this process. At the first time it is started only briefly and during the display of the splash screen it is already closed again. On the 2nd and 3rd start of the app, 'Hello World!' becomes visible and the app stays open for a few seconds.
The following outputs can be seen in the WACK log (translated from german):
**Deployment and launch tests**
FAILED
Platform version startup
Error: The following errors were detected while checking the high operating system version:
App cannot be launched.
App cannot be launched.
The app "Aaaaaaaaaaa.MyApp_1.0.1.0_x64__xxxxxxxxxxx" failed the platform version startup test.
Impact if not fixed: The app should not use version information to provide functionality specific to the operating system.
Remediation method: Check the available operating system functionality using the recommended methods. For more information, see the following link.
PASSED
App launch
FAILED
Crashes and hangs
Error: The following errors were detected while testing crashes and hangs:
C:\Program Files\WindowsApps\Aaaaaaaaaaa.MyApp_1.0.1.0_x64__xxxxxxxxxxx\TestApp1.exe executable was detected by Windows error reporting. A crash or blockage has occurred.
Application Aaaaaaaaaaa.MyApp_1.0.1.0_x64__xxxxxxxxxxx has been detected by Windows error reporting. A crash or blockage has occurred.
The memory dump file "C:\Users\Egon\AppData\Local\Microsoft\AppCertKit\TestApp1.exe.5540.dmp" was created by Windows error reporting. It contains additional information.
Impact if not fixed: An app that hangs or crashes may cause data loss and is not user-friendly.
Remediation method: Examine and debug the app to identify and fix the error.
I have replaced the app identifier here with 'Aaaaaaaaaaaaa.MyApp_1.0.1.0_x64__xxxxxxxxxxx'. The app can of course be started error-free in VS.
What to do? Should I just ignore the two errors?