How do I load a dll and its dependencies? I don't want to place each of the dependent dlls in an Assembly.Load. I'd rather just load the one dll and then the dependencies are loaded.
The above dlls aren't loaded when my application launches. They are only loaded when a user does a specific action, which then freezes the gui.
A workaround is to create an instance in my window's constructor and then set that instance to null. That definitely doesn't feel like the most elegant solution. Or is it? Thanks.