I encountered the error caused by LoadAllAssembliesFromAppDomainBinDirectory trying to load every single assembly in the bin directory (as its name suggests!).
But I found that I could stop ASP.NET from loading specific assemblies, like this:
But I found that I could stop ASP.NET from loading specific assemblies, like this:
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<remove assembly="ClearScriptV8-32" />
<remove assembly="ClearScriptV8-64" />
With that change to my Web.config, I find no other changes are needed. I didn't have to reference ClearScript directly from my web app project, or add the ClearScript auxiliary V8 DLLs to the root of the project as non-copying resources.