Description
The System.Configuration.ConfigurationManager package no longer references the System.Security.Permissions package.
Version
.NET 8 Preview 3
Previous behavior
The System.Configuration.ConfigurationManager referenced the System.Security.Permissions package.
New behavior
The System.Configuration.ConfigurationManager does not reference the System.Security.Permissions package.
Type of breaking change
Reason for change
This avoids a dependency on System.Drawing.Common when System.Configuration.ConfigurationManager is referenced which is primarily an issue for non-Windows operating systems.
The dependency to System.Drawing.Common was caused by the following package dependencies:
System.Configuration.ConfigurationManager ->
System.Security.Permissions ->
System.Windows.Extensions ->
System.Drawing.Common.
Recommended action
If the System.Configuration.ConfigurationManager package is referenced and a dependency is needed to System.Security.Permissions or any of its dependencies, which may include System.Windows.Extensions, System.Security.AccessControl, or System.Drawing.Common then ensure those packages are referenced directly or indirectly.
Feature area
Other (please put exact area in description textbox)
Affected APIs
No response
Associated WorkItem - 153930
Description
The
System.Configuration.ConfigurationManagerpackage no longer references theSystem.Security.Permissionspackage.Version
.NET 8 Preview 3
Previous behavior
The
System.Configuration.ConfigurationManagerreferenced theSystem.Security.Permissionspackage.New behavior
The
System.Configuration.ConfigurationManagerdoes not reference theSystem.Security.Permissionspackage.Type of breaking change
Reason for change
This avoids a dependency on
System.Drawing.CommonwhenSystem.Configuration.ConfigurationManageris referenced which is primarily an issue for non-Windows operating systems.The dependency to
System.Drawing.Commonwas caused by the following package dependencies:System.Configuration.ConfigurationManager ->
System.Security.Permissions ->
System.Windows.Extensions ->
System.Drawing.Common.
Recommended action
If the
System.Configuration.ConfigurationManagerpackage is referenced and a dependency is needed toSystem.Security.Permissionsor any of its dependencies, which may includeSystem.Windows.Extensions,System.Security.AccessControl, orSystem.Drawing.Commonthen ensure those packages are referenced directly or indirectly.Feature area
Other (please put exact area in description textbox)
Affected APIs
No response
Associated WorkItem - 153930