icsharpcode/ILSpy

How to deal with assembly binding redirects?

Open

#1508 aperta il 4 mag 2019

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C# (3645 fork)batch import
EnhancementHelp Wanted

Metriche repository

Star
 (25.162 star)
Metriche merge PR
 (Merge medio 15g 22h) (61 PR mergiate in 30 g)

Descrizione

Larger applications consisting of multiple assemblies these days usually have binding redirects in place. As far as I can tell this leads to ILSpy not being able to resolve references (or sometimes pulling in duplicate assemblies with different versions from the GAC) and generally a lower quality of the decompiled code.

Am I missing anything in how to deal with assembly-setups requiring binding redirects? Otherwise I think its time to consider this as a new feature, going forward with nuget based packaging I think redirected bindings will become much more common than they were in the past.

Guida contributor