You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assemblies removed from Microsoft.AspNetCore.App shared framework
As part of our ongoing work to reduce the size of the ASP.NET Core shared framework, the following assemblies were removed from the ASP.NET Core targeting pack:
System.Security.Permissions
System.Windows.Extensions
Applications upgrading to net6.0 would no longer be able to reference APIs provided by these libraries without adding additional PackageReference to their projects.
In addition, the following assemblies have been removed from the ASP.NET Core runtime pack:
Microsoft.Win32.SystemEvents
System.Drawing.Common
System.Security.Permissions
System.Windows.Extensions
Applications that use APIs from these libraries but use them in a 6.0 version of Microsoft.AspNetCore.App without a PackageReference that ensures these assemblies are present as part of the application output, may see runtime errors.
For instance, an application that uses reflection to access APIs from one of these assemblies without adding an explicit reference to these packages may see runtime errors
Version introduced
6.0
Old behavior
Applications could use APIs provided by these libraries by referencing the Microsoft.AspNetCore.App shared framework.
New behavior
PackageReference must be added to continue using these APIs.
Reason for change
Size reduction.
Recommended action
Add a PackageReference to the affected project. For instance,
Assemblies removed from Microsoft.AspNetCore.App shared framework
As part of our ongoing work to reduce the size of the ASP.NET Core shared framework, the following assemblies were removed from the ASP.NET Core targeting pack:
Applications upgrading to net6.0 would no longer be able to reference APIs provided by these libraries without adding additional
PackageReference
to their projects.In addition, the following assemblies have been removed from the ASP.NET Core runtime pack:
Applications that use APIs from these libraries but use them in a 6.0 version of Microsoft.AspNetCore.App without a PackageReference that ensures these assemblies are present as part of the application output, may see runtime errors.
For instance, an application that uses reflection to access APIs from one of these assemblies without adding an explicit reference to these packages may see runtime errors
Version introduced
6.0
Old behavior
Applications could use APIs provided by these libraries by referencing the Microsoft.AspNetCore.App shared framework.
New behavior
PackageReference must be added to continue using these APIs.
Reason for change
Size reduction.
Recommended action
PackageReference
to the affected project. For instance,Category
ASP.NET
Affected APIs
Issue metadata
The text was updated successfully, but these errors were encountered: