There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
No assembly binding redirect for autofac
Whilst there is an assembly binding redirect in web.config for NHibernate, so that if a module is built against a slightly older version of NHibernate, the module can still be used in subsequent Orchard versions, there is no such assembly binding redirect for Autofac. Therefore a module which references autofac and built for 1.5 causes the whole site to crash in 1.6:
2012-10-03 13:21:21,684  Orchard.Environment.DefaultOrchardHost - A tenant could not be started: Default
System.IO.FileLoadException: Could not load file or assembly 'Autofac, Version=188.8.131.521, Culture=neutral, PublicKeyToken=17863af14b0044da' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Autofac, Version=184.108.40.2061, Culture=neutral, PublicKeyToken=17863af14b0044da'