Skip to content

feature: added step for merging ILLink.*.xml files#339

Merged
KirillOsenkov merged 2 commits intogluck:masterfrom
deniszykov:master
Jan 5, 2024
Merged

feature: added step for merging ILLink.*.xml files#339
KirillOsenkov merged 2 commits intogluck:masterfrom
deniszykov:master

Conversation

@deniszykov
Copy link
Copy Markdown
Contributor

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:

  1. Type Renames: Not taken into account. As discovered, renames are not tracked in the ILRepack context.
  2. Method Signatures: These are text like System.Void Method2(System.Int32,System.String) and cannot be reliably fixed in the case of renames.
  3. Documentation: There is no official documentation for ILLink.Suppressions.xml, so I referred to the source code from ILLink.
  4. Assembly Name Masks: Not considered.

Copy link
Copy Markdown
Collaborator

@KirillOsenkov KirillOsenkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants