Ignore internal .NET Framework assemblies in AssemblySymbolLoader#46059
Ignore internal .NET Framework assemblies in AssemblySymbolLoader#46059ViktorHofer merged 3 commits intomainfrom
Conversation
Resolves the false positive warnings in dotnet/aspnetcore#59853
The NoWarn can be removed when dotnet/sdk#46059 got merged and consumed with a new .NET SDK.
carlossanlop
left a comment
There was a problem hiding this comment.
One minor comment, otherwise LGTM.
| public class AssemblySymbolLoader : IAssemblySymbolLoader | ||
| { | ||
| // This is a list of dangling .NET Framework internal assemblies that should never get loaded. | ||
| private static readonly HashSet<string> s_assembliesToIgnore = [ |
There was a problem hiding this comment.
How did you obtain this list?
There was a problem hiding this comment.
Eric gave me the list but the tool and the command that generated is C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8>\tools\verifyClosure\verifyClosure.exe .\
ericstj
left a comment
There was a problem hiding this comment.
LGTM - just a couple minor suggestions.
…ySymbolLoader.cs Co-authored-by: Eric StJohn <ericstj@microsoft.com>
|
Unrelated but the hardcoded ".dll" extension in This isn't a problem with Package Validation as only |
* Update .NET SDK Update .NET SDK to version 10.0.100-alpha.1.25063.8. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Suppress CP1002 temporarily via NoWarn The NoWarn can be removed when dotnet/sdk#46059 got merged and consumed with a new .NET SDK. * Remove NoWarns completely * Update SDK and dotnet tool versions * Update SDK and tools version in global.json * NoWarn CP1002 for MessagePack project --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
* Update .NET SDK Update .NET SDK to version 10.0.100-alpha.1.25063.8. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Suppress CP1002 temporarily via NoWarn The NoWarn can be removed when dotnet/sdk#46059 got merged and consumed with a new .NET SDK. * Remove NoWarns completely * Update SDK and dotnet tool versions * Update SDK and tools version in global.json * NoWarn CP1002 for MessagePack project --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>

Resolves the false positive warnings in dotnet/aspnetcore#59853