Skip to content

Commit 8d459e6

Browse files
authored
Note removal of switch (#28264)
1 parent 94b6f9d commit 8d459e6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/core/compatibility/core-libraries/6.0/system-drawing-common-windows-only.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ To use these APIs for cross-platform apps, migrate to one of the following libra
5858
- [SkiaSharp](https://github.com/mono/SkiaSharp)
5959
- [Microsoft.Maui.Graphics](https://github.com/dotnet/Microsoft.Maui.Graphics)
6060

61-
Alternatively, you can enable support for non-Windows platforms by setting the `System.Drawing.EnableUnixSupport` [runtime configuration switch](../../../runtime-config/index.md) to `true` in the *runtimeconfig.json* file:
61+
Alternatively, you can enable support for non-Windows platforms in .NET 6 by setting the `System.Drawing.EnableUnixSupport` [runtime configuration switch](../../../runtime-config/index.md) to `true` in the *runtimeconfig.json* file:
6262

6363
```json
6464
{
@@ -68,10 +68,7 @@ Alternatively, you can enable support for non-Windows platforms by setting the `
6868
}
6969
```
7070

71-
This configuration switch was added to give cross-platform apps that depend heavily on this package time to migrate to more modern libraries. However, non-Windows bugs will not be fixed. In addition, we may completely remove support for non-Windows platforms in a future release, even if you enable it using the runtime configuration switch.
72-
73-
> [!NOTE]
74-
> Despite the name of the runtime switch, `System.Drawing.EnableUnixSupport`, it applies to various non-Windows platforms, such as macOS and Android, which can generally be considered flavors of Unix.
71+
This configuration switch was added to give cross-platform apps that depend heavily on this package time to migrate to more modern libraries. However, non-Windows bugs will not be fixed. In addition, this switch has been removed in .NET 7.
7572

7673
## Affected APIs
7774

0 commit comments

Comments
 (0)