You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connecting to a catalog reference returns E_INVALIDARG on Windows 10 1903 due to AppCapability::CreateWithProcessIdForUser not accepting a null user when called from an unpackaged app #5378
EnsureProcessHasCapability calls AppCapability::CreateWithProcessIdForUser and passes nullptr as the user (which is not something the documentation for that method allows, but it wouldn't be the first underdocumented method...). When that call happens in a program without package identity on Windows 10 1903, this fails with E_INVALIDARG, which makes PackageCatalogReference::Connect fail.