加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

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

发布时间:2020-12-15 23:13:10 所属栏目:asp.Net 来源:网络整理
导读:像许多其他人一样,在部署我的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 安装
像许多其他人一样,在部署我的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>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读