I've added a step that merges ILLink.*.xml files into the resulting assembly.
I've tested its functionality on real assemblies. This is an optional feature enabled by the /illink flag (feel free to change the name).
The implementation is optimal for 99% of cases; however, there are several shortcomings:
Type Renames: Not taken into account. As discovered, renames are not tracked in the ILRepack context.
Method Signatures: These are text like System.Void Method2(System.Int32,System.String) and cannot be reliably fixed in the case of renames.
Documentation: There is no official documentation for ILLink.Suppressions.xml, so I referred to the source code from ILLink.
I've added a step that merges
ILLink.*.xml
files into the resulting assembly. I've tested its functionality on real assemblies. This is an optional feature enabled by the/illink
flag (feel free to change the name).The implementation is optimal for 99% of cases; however, there are several shortcomings:
ILRepack
context.System.Void Method2(System.Int32,System.String)
and cannot be reliably fixed in the case of renames.ILLink.Suppressions.xml
, so I referred to the source code from ILLink.