Skip to content

Instantly share code, notes, and snippets.

@tjrobinson
Created March 8, 2013 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjrobinson/5117565 to your computer and use it in GitHub Desktop.
Save tjrobinson/5117565 to your computer and use it in GitHub Desktop.
AppDomain.CurrentDomain.AssemblyResolve
AppDomain.CurrentDomain.AssemblyResolve += (s, ea) => ea.Name.StartsWith("NHibernate,") ? Assembly.GetAssembly(typeof(NHibernate.ISession)) : null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment