This is very counter intuitive, i would never think that AddPackageAsync nor PackageManager.RequestAddPackageByAppInstallerFileAsync will do the update, the only method that I would guess is doing update is.... wait for it.... PackageManager.UpdatePackageAsync as the name indicates.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: 61dbc475-482a-3e2f-b41e-bb9d35d100e5
Version Independent ID: 93e1b53d-8150-5693-ca85-acb317f1f666
This is very counter intuitive, i would never think that AddPackageAsync nor PackageManager.RequestAddPackageByAppInstallerFileAsync will do the update, the only method that I would guess is doing update is.... wait for it.... PackageManager.UpdatePackageAsync as the name indicates.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.