-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
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