Skip to content

Need to add note about System.Drawing.Common being deprecated in Linux in .NET 7 #32878

Closed

Description

@udlose

According to @svick noted here (dotnet/runtime#80148), the support for System.Drawing.Common has now been completely deprecated in .NET 7; thus, the System.Drawing.EnableUnixSupport setting in runtimeconfig.template.json is no longer valid.

The list of Breaking changes in .NET 7 does not include any information about the deprecation of Unix support for System.Drawing.Common or the deprecation of the System.Drawing.EnableUnixSupport config setting. This info should be added to the list of Breaking Changes so that developers are aware of this change.


Document Details

⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Activity

  1. changed the title [-]Need to add note about `System.Drawing.EnableUnixSupport` in runtimeconfig.json being deprecated in Linux[/-] [+]Need to add note about `System.Drawing.Common` being deprecated in Linux in .NET 7[/+] on Dec 5, 2022
  2. gewarren commented on Dec 14, 2022

    @gewarren
    Collaborator

    @udlose This was technically a breaking change in .NET 6, not .NET 7, and as such is listed here: https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only. This article also contains a note that the switch to re-enable support was removed in .NET 7 (and I don't believe the removal of the switch is considered an additional breaking change).

  3. gewarren commented on Mar 29, 2023

    @gewarren
    Collaborator

    Related to #33653.

  4. self-assigned this
    on Mar 29, 2023
  5. ghost added
    in-pr
    on May 18, 2023
  6. added
    ⌚ Not Triaged
    and removed
    ⌚ Not Triaged
    on May 19, 2023
  7. ghost removed
    in-pr
    on May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions