Antaris/RazorEngine — pull request #78 by stefanmoser (2013-01-10 00:21:45+00:00)
Title: Ensure assemblies exist on disk before including them as referenced assemblies for dynamic compliation

Currently all loaded assemblies are included as reference assemblies as supplied for dynamic compilation. If any of the actual files are missing it will fail, even if that assembly was not required. This could occur if an assembly has been removed from the GAC without rebooting the server.

This is a real problem that I experienced in a production system and caused all Razor templates to fail because a completely, totally, unrelated assembly was uninstalled.