Skip to content

CheckUpdateAvailabilityAsync crashes when not in debug mode #4324

Open
@michaelcoelsch

Description

@michaelcoelsch

CheckUpdateAvailabilityAsync crashes when not in debug mode

This bug occures, when upgrading to Microsoft.WindowsAppSDK 1.5.240404000.
CheckUpdateAvailabilityAsync works fine until Microsoft.WindowsAppSDK 1.4.240211001.

CheckUpdateAvailabilityAsync to update the app crashes when not in debug mode.
In debug mode everything works fine.

Steps to reproduce the bug

Just write code that uses the update mechanism with the help of CheckUpdateAvailabilityAsync to update an App to a newer version.

Expected behavior

No response

Screenshots

No response

NuGet package version

Windows App SDK 1.5.2: 1.5.240404000

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

Labels

area-DeploymentIssues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions