The current code assumes that the TargetAssembly is the first assembly in the $(IntermediateOutputPath)/Avalonia/references file, but this is not always the case. The current PR ensures that, regardless of the order of the present assemblies $(IntermediateOutputPath)/Avalonia/references, the TargetAssembly is always first.
Expected behavior
Internal members will be display.
Cuttent behavior
Internal members are displayed randomly.
What PR does
The current code assumes that the TargetAssembly is the first assembly in the
$(IntermediateOutputPath)/Avalonia/references
file, but this is not always the case. The current PR ensures that, regardless of the order of the present assemblies$(IntermediateOutputPath)/Avalonia/references
, the TargetAssembly is always first.