Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Breaking change]: System.Drawing.Common support for non-Windows has been removed #33653

Closed
1 of 3 tasks
ericstj opened this issue Jan 20, 2023 · 0 comments · Fixed by #35401
Closed
1 of 3 tasks

[Breaking change]: System.Drawing.Common support for non-Windows has been removed #33653

ericstj opened this issue Jan 20, 2023 · 0 comments · Fixed by #35401
Assignees
Labels
breaking-change Indicates a .NET Core breaking change 🏁 Release: .NET 7 Work items for the .NET 7 release doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3 📌 seQUESTered Identifies that an issue has been imported into Quest.

Comments

@ericstj
Copy link
Member

ericstj commented Jan 20, 2023

Description

As covered in
https://github.com/dotnet/designs/blob/main/accepted/2021/system-drawing-win-only/system-drawing-win-only.md
and https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only
System.Drawing.Common is now only supported on Windows.

As mentioned in the same document, the runtimeconfiguration switch to re-enable System.Drawing.Common was removed completely in .NET 7. This document represents that change in .NET 7.

Version

.NET 7

Previous behavior

The System.Drawing.Common library would allow applications to set the System.Drawing.EnableUnixSupport runtime configuration setting to re-enable non-windows support.

New behavior

This functionality has been removed and

Type of breaking change

  • Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
  • Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code may require source changes to compile successfully.
  • Behavioral change: Existing binaries may behave differently at run time.

Reason for change

See https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only#reason-for-change

Recommended action

See https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only#recommended-action

Feature area

Core .NET libraries

Affected APIs

See https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only#affected-apis


Associated WorkItem - 90989

@ericstj ericstj added doc-idea Indicates issues that are suggestions for new topics [org][type][category] breaking-change Indicates a .NET Core breaking change Pri1 High priority, do before Pri2 and Pri3 labels Jan 20, 2023
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Jan 20, 2023
@gewarren gewarren added 🏁 Release: .NET 7 Work items for the .NET 7 release and removed ⌚ Not Triaged Not triaged labels Jan 20, 2023
@gewarren gewarren added the 🗺️ reQUEST Triggers an issue to be imported into Quest. label May 18, 2023
@github-actions github-actions bot added 📌 seQUESTered Identifies that an issue has been imported into Quest. and removed 🗺️ reQUEST Triggers an issue to be imported into Quest. labels May 18, 2023
@ghost ghost added the in-pr This issue will be closed (fixed) by an active pull request. label May 18, 2023
@gewarren gewarren moved this from 🔖 Ready to 🏗 In progress in dotnet/docs May 2023 sprint May 18, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in dotnet/docs May 2023 sprint May 19, 2023
@ghost ghost removed the in-pr This issue will be closed (fixed) by an active pull request. label May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Indicates a .NET Core breaking change 🏁 Release: .NET 7 Work items for the .NET 7 release doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3 📌 seQUESTered Identifies that an issue has been imported into Quest.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants