Skip to content

SupportedOSPlatform is ignored by the installer (4661) #7

@LegendaryBlair

Description

@LegendaryBlair

SupportedOSPlatform is ignored by the installer

Describe the bug

We have upgraded our TargetFramework to net8.0-windows10.0.22621.0, but left the SupportedOSPlatform on 10.0.19041.0.

However, doing this means the installer no longer allows us to install our windows APP on any Windows version older then 22621.

Is this intentional? If so, what is the point of SupportedOSPlatform?

Steps to reproduce the bug

Set your settings as follows:

image

Expected behavior

We are able to install on Windows version 14091.

Screenshots

The installer returns the following reason for installation failure:

App installation failed with error message: Windows cannot install package because this package is not compatible with the device. The package requires OS version 10.0.22621.0 or higher on the Windows.Desktop device family. The device is currently running OS version 10.0.19041.208. (0x80073cfd)

NuGet package version

Windows App SDK 1.5.6: 1.5.240802000

Packaging type

Packaged (MSIX)

Windows version

Windows 10 version 2004 (19041, May 2020 Update)

IDE

Visual Studio 2022

Additional context

We have to upgrade the TFM due to the CommunityToolkit requiring this for an upcoming version. But I have tested this behavior without those new packages (so only the above mentioned change) and this error still happens.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions