0

I'm writing an auto-update system, where WPF App loads its dependencies (dlls) dynamically. I'm using the AssemblyResolve event for that. Then I found Costura.Fody and saw that it simplifies things. However, Fody doesn't allow loading of an updated version of a dependency, for example if I have dll v1.0.0.0 embedded with Fody, but would have v2.0.0.0 loaded from the web server.

Is there a hook in Fody for AssemblyResolve event so that I could then load whichever dependency I want, in stead of what Fody knows, or suggests?

-pom-

Pompair
  • 6,623
  • 11
  • 56
  • 68

1 Answers1

0

Not really. Costura was designed as more of a hands-off system, where it just handles finding the dependencies and loading them automatically. What you want to do is control that process and add your own logic.

Cameron MacFarland
  • 65,569
  • 20
  • 98
  • 130