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):

Steps to reproduce the bug
Steps to reproduce the behavior:
- 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).
- Download this repo and launch the solution in VS2019: https://github.com/dpaulino/winui-unsupported-api
- In solution explorer, right click on the project name
UnsupportedApiTest (Universal Windows) - Select publish > create app package
- 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).

- Leave the defaults on this screen:

- Click create.
- 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.
- In the app cert kit, follow instructions to run the kit.
- Eventually, the kit should result in a failure:

- This should be one of them:

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)
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
.appxuploadto the store through the store dashboard (https://partner.microsoft.com/en-us/dashboard/windows/overview)