Skip to content

[API Proposal]: remove dependency on System.Drawing.Common from System.Windows.Extensions #62649

@abelykh0

Description

@abelykh0

Background and motivation

.Net 6 introduced a breaking change in the Windows compatibility (see https://docs.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only). The motivation is to make the libraries, like the following to not depend on the "not recommended" GDI+ library System.Drawing.Common:
System.Windows.Extensions
System.Security.Permissions
System.Configuration.ConfigurationManager
System.Runtime.Caching
etc

API Proposal

Since so many commonly used packages depend on System.Windows.Extensions, such as System.Security.Permissions, System.Runtime.Caching, and even packages like System.Security.Cryptography and Microsoft.SqlServer.DacFx, it would be beneficial to remove dependency on the "not recommended" library System.Drawing.Common from System.Windows.Extensions.

API Usage

N/A

Alternative Designs

Maybe split System.Drawing.Common into "common" and "GDI+"?

Risks

Backward compatibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions