Skip to content

Use Sdks assembly Level Attributes for supported and unsupported platforms. #44257

@Anipik

Description

@Anipik

We are no longer removing the platform from the targetFrameworkString for net5.0 and above, this results in sdk adding
SupportedOSPlatformAttribute & TargetPlatformAttribute to the assemblyInfo file. This conflicts with the attributes that we are adding on the api level.

We should define a repo wide policy going forward.

There is currently no flag in the sdk to disable writing this attribute while writing this assembly level attriibute. asking sdk team to provide a flag will also be helpful here.

cc @ViktorHofer @ericstj @buyaa-n @safern

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions