Skip to content

System.Drawing.Common targeting Unix framework is too broad #49479

Closed

Description

@marek-safar

<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent);netcoreapp3.0-windows;netcoreapp3.0-Unix;netcoreapp3.0</TargetFrameworks>
targets Unix TFM but in reality, the assembly is supported only on few Unix platforms.

The target needs to be updated to exclude all Unix-like platforms where the assembly is not supported or even better would be to retarget it for Linux and macOS only where it's only supported.

Activity

  1. ghost added
    untriaged
    on Mar 11, 2021
  2. removed
    untriaged
    on Mar 11, 2021
  3. added this to the 6.0.0 milestone on Mar 11, 2021
  4. safern commented on Jul 22, 2021

    @safern
    Member

    Given that we annotated this assembly as SupportedOSPlatform("Windows") and that we are no longer supporting System.Drawing.Common on non-windows. I will close this issue as it is no longer applicable and once main becomes .NET 7, I will nuke the Unix implementation.

  5. ghost locked as resolved and limited conversation to collaborators on Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions