Skip to content

Bug title: PackageDeployment API Progress bug #5532

Open
@Gaoyifei1011

Description

@Gaoyifei1011

Describe the bug

PackageDeployment API Progress bug

---------------------------

应用包部署 API 进度问题


When you call APIs related to the Windows App SDK PackageDeploymentManager.AddPackageByUriAsync, an IAsyncOperationWithProgress<PackageDeploymentResult, PackageDeploymentProgress> is returned progress object, you can use this progress object to get the deployment progress, the status of the progress is always PackageDeploymentProgressStatus.Queued, and it does not become PackageDeploymentProgressStatus.InProgress, but the PackageDeploymentProgress.Progress value changes all the time. Hopefully this bug will be fixed in the future

---------------------------

调用和 Windows App SDK PackageDeploymentManager.AddPackageByUriAsync 等相关 API 时,会返回一个 IAsyncOperationWithProgress<PackageDeploymentResult, PackageDeploymentProgress> 进度对象,可以使用这个进度对象获取部署进度,进度的状态一直是 PackageDeploymentProgressStatus.Queued,并不会变成 PackageDeploymentProgressStatus.InProgress,但是 PackageDeploymentProgress.Progress 值一直发生变化,希望未来能修复这一 bug


Image

Image

Image

Steps to reproduce the bug

See description

Expected behavior

When the progress value PackageDeploymentProgress.Progress changes, the progress status enumeration value can be changed to PackageDeploymentProgressStatus.InProgress

---------------------------

进度值 PackageDeploymentProgress.Progress 发生改变时,进度状态枚举值能变成 PackageDeploymentProgressStatus.InProgress

Screenshots

No response

NuGet package version

Windows App SDK 1.7.3: 1.7.250606001

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 24H2 (22621, October 2024 Update), Insider Build (xxxxx), Windows 11 version 23H2 (22631, November 2023 Update), Windows 11 version 22H2 (22621, 2022 Update), Windows 10 version 22H2 (19045, 2022 Update), Windows 11 version 21H2 (22000)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions