Could not load file or assembly 'Antlr3.Runtime (1)' or one of its dependencies
Solution 1:
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.
Solution 2:
Try to delete the temporary files for ASP.Net by doing one of these:
- Enter %TEMP% in the File Explorer and delete all the temporary files.
- Go to folder "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files" and delete all files.
Solution 3:
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