Clearscript文件不能在主机上找到 [英] Clearscript files cannot be found on host
问题描述
像很多其他部署我的ASP.Net MVC应用程序时,我收到以下错误:
Like a lot of others I'm receiving the following error when deploying my ASP.Net MVC application:
无法加载V8接口组件;验证以下文件将与您的应用程序:ClearScriptV8-32.dll,ClearScriptV8-64.dll,V8-ia32.dll,V8-x64.dll
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安装作为努力改变对飞较少文件页面请求的一部分。
Clearscript was installed as part of an effort to transform less files on the fly for page requests.
我测试了我的ISS前preSS和ISS本地应用程序顺利。
I have tested my application locally in ISS Express and ISS without a hitch.
由于这里建议 http://clearscript3.rssing.com/chan-14849437/all_p12 html的我还包含失踪code库的资源,我的项目。
As suggested here http://clearscript3.rssing.com/chan-14849437/all_p12.html I've also included the missing code libraries as resources to my project.
ClearScriptV8-32.dll
, ClearScriptV8-64.dll
, V8-IA32 .DLL
, V8-x64.dll
都包含在bin文件夹中的文件夹ClearScript.V8英寸删除此文件夹不解决问题。
ClearScriptV8-32.dll
, ClearScriptV8-64.dll
, v8-ia32.dll
, v8-x64.dll
are all included in a folder ClearScript.V8 in the bin folder. Removing this folder does not resolve the issue.
在我束手无策。任何帮助是AP preciated。
At my wits end. Any help is appreciated.
推荐答案
的原因是asp.net负载瞬间的/ bin目录下的所有库。
我补充以下规则忽略Clearscript组件,和它的工作
the cause is that asp.net load instantly all libraries in /bin directory. I added the following rule to ignore Clearscript assemblies, and it worked
<configuration>
<system.diagnostics>
<trace autoflush="true" />
</system.diagnostics>
<system.web>
<compilation>
<assemblies>
<remove assembly="ClearScriptV8-64" />
<remove assembly="ClearScriptV8-32" />
....
</assemblies>
</compilation>
...
这篇关于Clearscript文件不能在主机上找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!