Making OWIN use AssemblyResolved() assemblies
问题 I have a console app that is using AppDomain.CurrentDomain.AssemblyResolve() to load unresolved assemblies. I'm wiring up the handler in a static constructor, and I'm logging every call to the handler. My console app is starting up a self-hosted webservice, using Microsoft.Owin.Hosting.WebApp.Start() . If I run the app with the following DLLs in the same directory as the .exe , the webservice works correctly: Microsoft.Owin.Diagnostics.dll Microsoft.Owin.dll Microsoft.Owin.Host.HttpListener