title: Can't load Antlr3.Runtime, HRESULT: 0x80131040
body: <p>Something on our MVC 4 project, on my computer, seems very broken :( It started out with the project suddenly thinking it's a Windows project, I could add no views or controllers. I repaired it to the point where it is MVC again, but 1) it has no Intellisense for Razor, and 2) it doesn't start, showing this error: </p>
  
  <blockquote>
    <p>Die Datei oder Assembly "Antlr3.Runtime" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040) </p>
  </blockquote>
  
  <p>(sorry, no full exact English translation found. It means that it is trying to load the wrong version of the Antlr3.Runtime). </p>
  
  <p>What I tried and didn't work: </p>
  
  <ul>
  <li>Deleting all files in %TEMP% </li>
  <li>cleaning and rebuilding the solution </li>
  <li>uninstalling Antlr3 and dependent libraries (it is required by MVC optimization, which seems to be connected to the Intellisense problem). Updated NuGet manager, then re-installed Antlr and the others. </li>
  <li><p>Checked the properties of the Antlr3 reference. It is set to "Specific version -> false" and in Web.config, I have the entry </p>
  
  <pre><code>  &lt;dependentAssembly&gt;
  &lt;assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" 
  culture="neutral" /&gt;
  &lt;bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" /&gt;
  </code></pre>
  
  <p></p></li>
  </ul>
  
  <p>The strange thing is that </p>
  
  <ul>
  <li>when I create a new MVC project, it works </li>
  <li>the project works on my co-worker's computer just fine. </li>
  </ul>
  
  <p>Because of the second point, I completely abandoned my old workspace, created a new one, and got the project fresh from TFS. I also did a diff on our .csproj files. This was before I attempted the solutions above. It still didn't help. </p>
  
  <p>Any ideas what I could do from here? </p>