Skip to content

ReleaseInfo returns "1.7.0" in 1.7.1 release #5323

Closed
@Marv51

Description

@Marv51

Describe the bug

I know there has been much back an forth about the Microsoft.Windows.ApplicationModel.WindowsAppRuntime.ReleaseInfo-API I thought it was working now in the 1.7 release?
I am getting an incorrect version from the API.

Steps to reproduce the bug

When I add this line to my app that is running on the just released 1.7.1 runtime:

var versionString = Microsoft.Windows.ApplicationModel.WindowsAppRuntime.ReleaseInfo.AsString;

I thought the expected value would be "1.7.1". However the string that is returns is "1.7.0"

The Patch-property on ReleaseInfo is also 0.

Expected behavior

It should return "1.7.0"

Screenshots

I have confirmed that the output of Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeInfo.Version is correctly 7000.456.1632.0

NuGet package version

Windows App SDK 1.7.1: 1.7.250401001

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 24H2 (22621, October 2024 Update)

IDE

Visual Studio 2022

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions