Fixing WACK failure on store submission #4820
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The store expectations for WACK certification are somewhat finicky - they need a WinMD to appear in the WinMetadata folder (and in the root) when that WinMD is implemented by a framework package (which is the case for our stable releases), but they need that WinMD to not appear in the WinMetadata folder when that WinMD is implemented by a DLL in the AppX file (which is the case for our prereleases).
Frustratingly, this restriction appears to only be enforced when actually submitting to the store - the local app cert kit does not report any issues; it's only when you upload the appxupload/msixupload file to the store that it complains. Additionally, there does not appear to be any way to locally run validation on that appxupload/msixupload file, so there's no way for me to add a check to ensure that we won't hit this in the future. I've manually uploaded a test app built with these changes and submitted it to the store, and confirmed that it passed certification there.
There's also a separate item group for items to be added to the appxupload/msixupload file, which also needs to have our WinMD added to it. I've done that, too.
Fixes #3780