I'm getting this error while trying to run my MVC4
project, it was working fine until last time on my other machines, but when I'm trying to run it from another machine it's giving me this error:
Could not load file or assembly 'Antlr3.Runtime (1)' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
After reading about this here I've tried to do:
Install-Package Antlr3.Runtime -Pre
but it didn't help, any ideas?
I encountered the same problem when experimenting with the free Nlog logging platform.
This helped me:
Enter %TEMP% in the File Explorer and delete all the temporary files.
After that I didn't get the error when starting my MVC5 project in Visual Studio.
Try to delete the temporary files for ASP.Net by doing one of these:
Don't forget to clear also the Temporary ASP.NET Files in Framework64
. That did the trick for me.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With