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.