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

[release/6.0-preview7] Make System.Drawing.Common throw on Unix unless a config switch is set #56114

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 21, 2021

Backport of #55962 to release/6.0-preview7

/cc @safern

Customer Impact

Customers will now get a warning when targeting non-Windows and using the System.Drawing.Common package. Also at runtime they will be forced to set a runtime config switch (System.Drawing.EnableUnixSupport) or they will get a PlatformNotSupportedException.

Motivation behind this new behavior described in: dotnet/designs#234

Breaking change notice is: dotnet/docs#25257

Testing

Manual testing for build changes and also added tests for runtime behavior.

Risk

Low, changes are simple and tests back those changes.

@ghost
Copy link

ghost commented Jul 21, 2021

Tagging subscribers to this area: @safern, @tarekgh
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #55962 to release/6.0-preview7

/cc @safern

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Drawing

Milestone: -

@danmoseley danmoseley added the Servicing-consider Issue for next servicing release review label Jul 22, 2021
@jamshedd jamshedd added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jul 22, 2021
@danmoseley danmoseley merged commit b0cf153 into release/6.0-preview7 Jul 22, 2021
@danmoseley danmoseley deleted the backport/pr-55962-to-release/6.0-preview7 branch July 22, 2021 17:30
@ghost ghost locked as resolved and limited conversation to collaborators Aug 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Drawing Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants