title: How to create a DirectoryCatalog that will search sub directories for plugins
body: <p>So I have my directory catalog set up shown below:</p>
  
  <pre><code>DirectoryCatalog directoryCatalog = new DirectoryCatalog(@".\Plugins");
  var catalog = new AggregateCatalog(directoryCatalog);
  var container = new CompositionContainer(catalog);
  container.ComposeParts(this);
  </code></pre>
  
  <p>Which will find any .dll's in my <code>Plugins</code> folder that meet my import criteria. Now To prevent reference clashes in my plugins I would like to put each plugin in a seperate folder. </p>
  
  <p>e.g.</p>
  
  <blockquote>
    <p>Plugins -> Plugin1 -> plugin1.dll</p>
  
  <pre><code>      -&gt; Plugin2 -&gt; plugin2.dll
  </code></pre>
  </blockquote>
  
  <p>But my <code>DirectoryCatalog</code> doesn't find these plugins. Is it possible to implement this or do my plugin libraries have to be in that specified <code>.\Plugins</code> folder</p>