microsoft-ui-xaml: __CxxFrameHandler4 API is causing Microsoft Store certification failure, thus blocking all app store updates

Describe the bug

All UWP apps submitted to the Microsoft Store must pass certification. There seems to be a bug in the WinUI library that is causing all UWP apps that use WinUI to fail Store certification due to an unsupported API. Here is a certification report that I received from the Store team (and I also reproduced this report locally on my machine using the Windows App Certification Kit): image

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Ensure you are logged into VS2019 with a Microsoft Account that has UWP apps available in the Windows Developer Dashboard (https://partner.microsoft.com/en-us/dashboard/windows/overview).
  2. Download this repo and launch the solution in VS2019: https://github.com/dpaulino/winui-unsupported-api
  3. In solution explorer, right click on the project name UnsupportedApiTest (Universal Windows)
  4. Select publish > create app package
  5. Now we just need Visual Studio to create a signed package. So when the app package wizard pops up, select the option to associate the project with a Microsoft Store app. Select any app (it doesn’t matter which app since we are not going to upload the package). image
  6. Leave the defaults on this screen: image
  7. Click create.
  8. After the package is created, Visual Studio will launch a pop up window asking you if you want to launch the app certification kit. Click launch.
  9. In the app cert kit, follow instructions to run the kit.
  10. Eventually, the kit should result in a failure: image
  11. This should be one of them: image

Expected behavior

There should be no error related to unsupported APIs

Screenshots

See above

Version Info

NuGet package version:

2.3.191007001-prerelease

Windows 10 version Saw the problem?
Insider Build (xxxxx)
May 2019 Update (18362) Yes
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Mobile
Xbox
Surface Hub
IoT

Additional context 2.3.190910001-prerelease does not have this same problem.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 4
  • Comments: 23 (12 by maintainers)

Most upvoted comments

Oh and just to clarify, the locally run WACK will continue to fail until the fix is incorporated into the Insider SDK. But the store submissions should be unblocked.

If you build the package for store upload, you can skip running the WACK tests, and then just submit the .appxupload to the store through the store dashboard (https://partner.microsoft.com/en-us/dashboard/windows/overview)