Antaris/RazorEngine — pull request #44 by michaelnoonan (2012-04-10 03:32:36+00:00)
Title: Avoid loading duplicate assemblies on template compilation

Only load distinct assemblies based on FullName from the assemblies loaded into the current AppDomain to avoid loading multiple instances of same assemblies and causing the compiler to fail.

This occurs in our case after a report is generated with Crystal Reports and two instances of the crdb_adoplus.dll assembly are loaded into the AppDomain from two different folders, but they are essentially the same assembly (by FullName).