Repository navigation
System.Drawing.Common breaking change - #25367
Conversation
|
I'll go ahead and publish this, and once the migration examples are ready, I'll add those. |
safern
left a comment
There was a problem hiding this comment.
Thanks! We can update it to add code examples to have something published.
|
|
||
| ## New behavior | ||
|
|
||
| Starting in .NET 6, the platform analyzer emits compile-time warnings when referencing code is compiled for non-Windows operating systems. In addition, the following run-time exception is thrown unless you set a configuration option: |
There was a problem hiding this comment.
Can we mention that in .NET 7 the plan is to no longer support this not even with the runtime config switch?
There was a problem hiding this comment.
The docs style guide says not to discuss future plans in documentation. @tdykstra @BillWagner How strictly do we adhere to this?
There was a problem hiding this comment.
I see. The reason why I think in this case would be valuable, it is because we want to encourage customers to move off System.Drawing.Common for xplat and don't want this to be a surprise when we release 7.0.
Contributes to #25257
Preview link.