icsharpcode/ILSpy

How to deal with assembly binding redirects?

Open

#1.508 aberto em 4 de mai. de 2019

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C# (3.645 forks)batch import
EnhancementHelp Wanted

Métricas do repositório

Stars
 (25.162 stars)
Métricas de merge de PR
 (Mesclagem média 15d 22h) (61 fundiu PRs em 30d)

Description

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.

Guia do colaborador