[Bug] PublicApiContractTest
fails to output public API information for some assemblies
#10238
Labels
bug
A bug to fix
Describe the bug
PublicApiContractTest.cs generate Api.verified.cs file that describe public API metadata.
But it seems some assembly's public APIs information are not exposed.
List of assemblies that is not outputted API metadata`
It seems assembly reference is removed when type is not actually used inside dlls.
So It's required to load these assemblies manually before calling
GetReferencedAssemblies
.Expected behavior
All public API contracts are outputted
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: