title: Could not load file or assembly Antlr3.Runtime.dll
body: <p>We were using TeamCity for our Build server, .Net Framework 4 and ASP.NET MVC2 and NHibernate
  Our build server recently went offline thanks to Amazon EC2 issue recently. We are setting a new build server up.</p>
  
  <p>However, even though nothing changed recently in our codebase, Teamcity gives following error.</p>
  
  <pre><code>ResGen error RG0000: Could not load referenced assembly "C:\TeamCity\buildAgent\work\1e7706dcd512f467\xxx\Lib\Antlr3.Runtime.dll".  Caught a FileLoadException saying "Could not load file or assembly 'C:\TeamCity\buildAgent\work\1e7706dcd512f467\xxx\Lib\Antlr3.Runtime.dll' or one of its dependencies. Provider DLL failed to initialize correctly. (Exception from HRESULT: 0x8009001D)".
  </code></pre>
  
  <p>Given DLL file exists along with other required DLLs. Any solution?</p>