This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
Improve Error Experience in the linker - #719
Merged
Merged
Conversation
importance so default verbosity is able to print it src/linker/Linker/AssemblyResolver.cs – Include a warning message for suspicious series of common punctuation characters in assembly names, although supported they are likely typos in assembly names. Warning is only printed upon failure. src/linker/Linker/LinkContext.cs – skip assembly if it’s null (means is an unresolved assembly) src/linker/Linker.Steps/ResolveFromXmlStep.cs – skip assembly if it’s null (means is an unresolved assembly)
sbomer
reviewed
Aug 26, 2019
add space to match repo convention -src/linker/Linker/AssemblyResolver.cs delete invalid chars check add "skipping this assembly" message
sbomer
reviewed
Aug 26, 2019
Co-Authored-By: Sven Boemer <[email protected]>
sbomer
approved these changes
Aug 27, 2019
sbomer
left a comment
Member
There was a problem hiding this comment.
LGTM! Not sure we even need to change the error message - I'll let @marek-safar comment on that.
tlakollo
added a commit
that referenced
this pull request
Oct 15, 2019
I added the word Ignoring to the unresolved assembly log message for PR #719, but I also delete the warning word section which is useful since it can be printed using the --verbose flag in the linker options, adding it again.
marek-safar
pushed a commit
that referenced
this pull request
Oct 16, 2019
I added the word Ignoring to the unresolved assembly log message for PR #719, but I also delete the warning word section which is useful since it can be printed using the --verbose flag in the linker options, adding it again.
tkapin
pushed a commit
to tkapin/runtime
that referenced
this pull request
Jan 31, 2023
* src/ILLink.Tasks/LinkTask.cs – Increase Standard Error output logging importance so default verbosity is able to print it src/linker/Linker/AssemblyResolver.cs – Include a warning message for suspicious series of common punctuation characters in assembly names, although supported they are likely typos in assembly names. Warning is only printed upon failure. src/linker/Linker/LinkContext.cs – skip assembly if it’s null (means is an unresolved assembly) src/linker/Linker.Steps/ResolveFromXmlStep.cs – skip assembly if it’s null (means is an unresolved assembly) * - src/linker/Linker.Steps/ResolveFromXmlStep.cs add space to match repo convention -src/linker/Linker/AssemblyResolver.cs delete invalid chars check add "skipping this assembly" message * Update src/linker/Linker/LinkContext.cs to match mono repo conventions Co-Authored-By: Sven Boemer <[email protected]> * Update AssemblyResolver.cs Commit migrated from dotnet/linker@9a525c6
tkapin
pushed a commit
to tkapin/runtime
that referenced
this pull request
Jan 31, 2023
I added the word Ignoring to the unresolved assembly log message for PR dotnet/linker#719, but I also delete the warning word section which is useful since it can be printed using the --verbose flag in the linker options, adding it again. Commit migrated from dotnet/linker@1b4417d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src/ILLink.Tasks/LinkTask.cs – Increase Standard Error output logging importance so default verbosity is able to print it
src/linker/Linker/AssemblyResolver.cs – Include a warning message for
suspicious series of common punctuation characters in assembly names,
although supported they are likely typos in assembly names. Warning is
only printed upon failure.
src/linker/Linker/LinkContext.cs – skip assembly if it’s null (means is
an unresolved assembly and skip flag was used)
src/linker/Linker.Steps/ResolveFromXmlStep.cs – skip assembly if it’s
null (means is an unresolved assembly and skip flag was used)
See issue #653 for more information