Skip to content

Ensure MinimumOSVersion is is consistent withSupportedOSPlatformVersion #12336

@mhutch

Description

@mhutch

We should ensure that the MinimumOSVersion property in the Info.plist is consistent with the SupportedOSPlatformVersion MSBuild property. SupportedOSPlatformVersion is a standardized across platforms and controls the SDK's platform analyzers.

https://github.com/dotnet/designs/search?q=SupportedOSPlatformVersion

A few options:

  • emit a build error if the MinimumOSVersion property and the SupportedOSPlatformVersion MSBuild property do not match
  • merge the SupportedOSPlatformVersion MSBuild property into the MinimumOSVersion plist value during app build
  • set the SupportedOSPlatformVersion MSBuild property from the MinimumOSVersion plist property in a build target at start of build. the downside would be that it would not be available during evaluation.

Metadata

Metadata

Assignees

Labels

dotnetAn issue or pull request related to .NET (6)dotnet-pri0.NET 6: required for stable release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions