MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem]: UWP App Package for Desktop/Xbox fails Store Certification with Fixed Runtime included

Open
#4,175 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

What happened?

We're building a UWP application with a Fixed Version runtime of WebView2.

The built app bundle fails store certification with the Windows App Certification Kit 10.0.22621.2428 due to use of prohibited APIs by the WebView2 runtime.

image

[!NOTE]
It succeeds when adding the runFullTrust capability but for the simple reason that the 'Supported API Test' is excluded in that case. The APP is meant to be published to the Store for Windows and Xbox, so that's not an option afaiu.

Assets
UWP Store Build
UWP Build with runFullTrust
Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

119.0.2151.58

SDK Version

1.0.1823.32

Framework

WinUI2/UWP

Operating System

Windows 10, Windows 11, Xbox

OS Version

22621.2506

Repro steps
  • Clone this repo: https://github.com/softworkz/WebViewDeployment
    This is the original Xbox sample with a few changes to get it ready for store publishing.
  • Build in Release config and create a package
  • Run the generated package in the Windows App Certification Toolkit
  • Watch the results

For comparison with runFullTrust:

  • Just revert the latest commit or reset to one commit below
  • Same steps as above

Ready-built packages and test report are included in the repo in folder ./MsixBundles

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the WebViewDeployment repository and compare the MSIX_UWP_Default and MSIX_UWP_FullTrust packages and their Windows App Certification Kit reports in ./MsixBundles. Reproduce the Release package build and certification test; done requires the cause of the prohibited API failures to be established and the intended package to pass certification without relying on runFullTrust.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.