asp.net-mvc-4 – 在主机上找不到Clearscript文件

像许多其他人一样,在部署我的ASP.Net MVC应用程序时,我收到以下错误

Cannot load V8 interface assembly; verify that the following files are installed with your application: ClearScriptV8-32.dll,ClearScriptV8-64.dll,v8-ia32.dll,v8-x64.dll

安装Clearscript作为为了寻求页面请求而快速转换较少文件的一部分.

我已经在ISS Express和ISS本地测试了我的应用程序,没有任何困难.

根据这里建议http://clearscript3.rssing.com/chan-14849437/all_p12.html我还将缺少的代码库作为资源包含在我的项目中.

ClearScriptV8-32.dll,v8-x64.dll都包含在bin文件夹中的一个文件夹ClearScript.V8中.删除文件夹无法解决问题.

在我的智慧结束.任何帮助是赞赏.

解决方法

原因是asp.net加载了/ bin目录中的所有库.
添加了以下规则来忽略Clearscript程序集,它的工作
<configuration>
    <system.diagnostics>
        <trace autoflush="true" />
    </system.diagnostics>
    <system.web>
        <compilation>
            <assemblies>

                <remove assembly="ClearScriptV8-64" />
                <remove assembly="ClearScriptV8-32" />
               ....
            </assemblies>
        </compilation>

相关文章

这篇文章主要讲解了“WPF如何实现带筛选功能的DataGrid”,文...
本篇内容介绍了“基于WPF如何实现3D画廊动画效果”的有关知识...
Some samples are below for ASP.Net web form controls:(fr...
问题描述: 对于未定义为 System.String 的列,唯一有效的值...
最近用到了CalendarExtender,结果不知道为什么发生了错位,...
ASP.NET 2.0 page lifecyle ASP.NET 2.0 event sequence cha...