title: XmlSerializer giving FileNotFoundException at constructor
body: <p>An application I've been working with is failing when I try to serialize types.</p>
  
  <p>A statement like</p>
  
  <pre><code>XmlSerializer lizer = new XmlSerializer(typeof(MyType));
  </code></pre>
  
  <p>produces:</p>
  
  <pre><code>System.IO.FileNotFoundException occurred
    Message="Could not load file or assembly '[Containing Assembly of MyType].XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
    Source="mscorlib"
    FileName="[Containing Assembly of MyType].XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
    FusionLog=""
    StackTrace:
         at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
         at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
  </code></pre>
  
  <p>I don't define any special serializers for my class.</p>
  
  <p>How can I fix this problem?</p>