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

前端之家收集整理的这篇文章主要介绍了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>

原文链接:https://www.f2er.com/aspnet/250075.html

猜你在找的asp.Net相关文章