Description
AssemblyName has number of properties that are not proper part of assembly name. They do not not roundtrip through AssemblyName string representation and they are ignored by the assembly loader in .NET Core. They were marked as obsolete in dotnet/runtime#59522.
Version
.NET 7 Preview 1
Previous behavior
Usage of these AssemblyName members did not produce any build warnings, but their functionality could not be relied upon at runtime.
New behavior
Usage of these AssemblyName members will produce build warnings with diagnostic ID SYSLIB0037.
Type of breaking change
Reason for change
Annotating unsupported APIs as obsolete.
Recommended action
Do not use these members in scenarios where it was expected for the values to be roundtripped through the string representation of the AssemblyName.
Feature area
Core .NET libraries
Affected APIs
Description
AssemblyName has number of properties that are not proper part of assembly name. They do not not roundtrip through AssemblyName string representation and they are ignored by the assembly loader in .NET Core. They were marked as obsolete in dotnet/runtime#59522.
Version
.NET 7 Preview 1
Previous behavior
Usage of these AssemblyName members did not produce any build warnings, but their functionality could not be relied upon at runtime.
New behavior
Usage of these AssemblyName members will produce build warnings with diagnostic ID
SYSLIB0037.Type of breaking change
Reason for change
Annotating unsupported APIs as obsolete.
Recommended action
Do not use these members in scenarios where it was expected for the values to be roundtripped through the string representation of the AssemblyName.
Feature area
Core .NET libraries
Affected APIs