title: File not found error when reflecting assembly types
body: <p>Iterating through a directory for *.dll files, find them and create an Assembly reference for each file.</p>
  
  <p>Once I have a reflected object, I iterate through all the types available in each, from which I'd like to get the custom attributes for each type in the collection:</p>
  
  <pre><code>string[] files = Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory + "Methods", "*.dll");
  
  foreach (string s in files)
  {
      Assembly asm = Assembly.LoadFile(s);
  
      Type[] asmTypes = asm.GetTypes();
  
      bool isCorrect = false;
  
      foreach (Type type in asmTypes)
      {
          1. var customAttribs = type.GetCustomAttributes(typeof(BaseModelAttribute), false);
      }
  }
  </code></pre>
  
  <p>[Update] : exception raised at line # 1</p>
  
  <p>This code works all the way up to the foreach...loop when I get an exception saying that the file could not be found, which is weird as I created an Assembly reference from the file higher up in the code block (not mentioned in code).</p>
  
  <p>[Update]: Erno was correct in in assuming a reference could not be established. Base, for some reason needs to be defined outside of the reference pool (being in the bin directory) even though it's not actually needed by the application. Does not makes sense to me, but it works. Thanks.</p>