title: Register Assembly Modules from Base Folder
body: <p>I have WinForms project thats has 2 references to Assemblies I want to remove. There are only there because in need them in Bootstrap to do a typeof in the registration of Modules.</p>
  
  <pre><code>  var builder = new ContainerBuilder();
  
    var AssemblyCore = typeof (Fle.SQLServer.Core.Impl.Checker.Registry).Assembly;
    builder.RegisterAssemblyModules(AssemblyCore);
  
    var AssemblyXml = typeof (Fle.SQLServer.XmlFiles.Registry).Assembly;
    builder.RegisterAssemblyModules(AssemblyXml);
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/dEucr.jpg" alt="enter image description here"></p>
  
  <p>Structure map has something that is called AssembliesFromApplicationBaseDirectory does autofac has the same or something similar? Or can i register a RegisterAsseblyModels with path?</p>