Skip to content

JavaScriptEngineSwitcher.V8 latest version uses the ClearScript dll whose publickey token is not matching the one that is in the manifest  #29

Closed
@github-prometheus

Description

@github-prometheus

Hi Taritsyn,

I added the JavaScriptEngineSwitcher.V8 nuget package version 2.4.0 to my asp.net mvc4 application and made necessary changes in the Global.asax.cs file and also in the web.config but when I run my application, I am getting the error as

System.IO.FileLoadException: Could not load file or assembly 'ClearScript, Version=5.4.9.0, Culture=neutral, PublicKeyToken=935d0c957da47c73' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at JavaScriptEngineSwitcher.V8.V8JsEngine.LoadUndefinedValue()
   at JavaScriptEngineSwitcher.V8.V8JsEngine..cctor()

Here I noticed the thing that the public key token 935d0c957da47c73 is coressponds to the ClearScript version 5.4.7

If I install the JavaScriptEngineSwitcher.V8 nuget package version 2.1.0, the application runs fine since it finds the correct version of the ClearScript.

Can you please confirm if this is a potential bug that might have been caused while publishing nuget package? Please find the attached screenshots that corresponds to the public key token of the ClearScript.dll version 5.4.9 and 5.4.7 respectively.

Thanks,
Pramod

clearscript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions