dotnet / dotnet/winforms

Remove or Update Obsolete property AssemblyName.ProcessorArchitecture use in Winforms

Open
#6,197 3 comments 0 reactions 0 assignees View on GitHub
code cleanup enhancement
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

This is a tracking bug to validate and remove use of obsolete property `AssemblyName.ProcessorArchitecture` in Winforms.
Currently (.NET 4. 0 and above versions), `AssemblyName.ProcessorArchitecture` is always set to None for reference assemblies. However, if we load an explicit assembly, we may get the architecture that the binary was targeting. Given this property is used in public API `GetResourceStream`, we need to validate full scenarios before replacing/removing its use.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.