Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Using ClearScript. WebApplication problem

0
0
Hi,
I tried every configuration expose in this discussion, but my iis 7.5 refuse to load the library ClearScriptV8-32.dll or some dll dependence.
I've tried that:
1) Install from nuget console with "Install-Package ClearScript.V8"
2) Console application: Ok, Web application: KO because iis complain with Impossile load file or assembly 'ClearScriptV8-32.DLL' o some relative dependencies
3) I have discovered the nuget installation add a reference to ClearScript.dll and a piece of code in vs project like this:
<PropertyGroup>
<PostBuildEvent>
if not exist "$(TargetDir)" md "$(TargetDir)"
xcopy /s /y "$(SolutionDir)packages\ClearScript.V8.5.3.7.0\tools\native\x86*.*" "$(TargetDir)"
if not exist "$(TargetDir)" md "$(TargetDir)"
xcopy /s /y "$(SolutionDir)packages\ClearScript.V8.5.3.7.0\tools\native\amd64*.*" "$(TargetDir)"
</PostBuildEvent>
</PropertyGroup>
where, on the other hand, copy the .dll from downloaded directory to bin directory
4) I have tried some combination, like disable this piece of xcopy code, add the dll like resource in the visual studio project, enable, disable the <hostingEnvironment shadowCopyBinAssemblies="false" /> inside web.config but iis refuse to load the library ClearScriptV8-32.DLL and v8-ia32.dll
5) now thanks to "Dependancy Walker" I discovered that file v8-ia32.dll (in windows 7) is linked with this dll list:
API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL
DCOMP.DLL
IESHIMS.DLL
but, those files are not in windows\system32 (neither hidden)

What does that mean?

And is possible this is one of the problem?

Thanks for help!

Viewing all articles
Browse latest Browse all 2297




Latest Images