Skip to content

Generate TargetPlatformAttribute, and use TargetPlatformMinVersion for SupportedOSPlatformAttribute #13453

@dsplaisted

Description

@dsplaisted

We should update how we are generating the assembly-level platform attributes:

  • We should generate a TargetPlatformAttribute with a value of $(TargetPlatformIdentifier)$(TargetPlatformVersion)
  • The SupportedOSPlatformAttribute should use the TargetPlatformMinVersion value, ie $(TargetPlatformIdentifier)$(TargetPlatformMinVersion)
    • Currently this goes through the SupportedOSPlatform property (which defaults to TargetPlatformVersion, which is incorrect). However, we should probably just remove this property, to avoid confusion with SupportedPlatform.

@wli3 @terrajobst

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions