Code Monkey home page Code Monkey logo

Comments (10)

Taritsyn avatar Taritsyn commented on June 2, 2024

Hello, Sven!

What versions of the JavaScriptEngineSwitcher.V8 and Microsoft.ClearScript.V8.Native.win-x64 packages do you use?

from javascriptengineswitcher.

Taritsyn avatar Taritsyn commented on June 2, 2024
  1. running locally on IISExpress works
  2. after using Web Publish to deploy to Azure Web App, error is:

Most likely, your deployment script does not copy the ClearScriptV8.win-x64.dll file.

from javascriptengineswitcher.

DarthSonic avatar DarthSonic commented on June 2, 2024

updated to latest versions 3.17.2 and 7.2.2

from javascriptengineswitcher.

Taritsyn avatar Taritsyn commented on June 2, 2024

Apparently, this is a deployment error. You may have to manually edit the deployment script.

from javascriptengineswitcher.

DarthSonic avatar DarthSonic commented on June 2, 2024
  1. running locally on IISExpress works
  2. after using Web Publish to deploy to Azure Web App, error is:

Most likely, your deployment script does not copy the ClearScriptV8.win-x64.dll file.

Meanwhile I figured out a way to solve it:

The file was existing but seems not to be overridden correctly by Web Publish. So I removed bin-folder manually by using App Service Editor (or alternatively Kudu). After the next deploy it worked.

I can remember that happend the last time I updated JavaScriptEngineSwitcher and/or ClearScript package too. Maybe there is some problem with file getting locked and not released as other files in the bin-folder do not have that problem?

from javascriptengineswitcher.

Taritsyn avatar Taritsyn commented on June 2, 2024

In principle, updating of native assemblies always require an restart of IIS or application pool.

from javascriptengineswitcher.

DarthSonic avatar DarthSonic commented on June 2, 2024

For sure, but there is no problem with any other DLL than ClearScriptV8.win-x64.dll.

I will close that issue.

from javascriptengineswitcher.

Taritsyn avatar Taritsyn commented on June 2, 2024

How many of these assemblies are native?

from javascriptengineswitcher.

DarthSonic avatar DarthSonic commented on June 2, 2024

Can't tell you. I did not dive into this that deeply.

from javascriptengineswitcher.

Taritsyn avatar Taritsyn commented on June 2, 2024

It is quite possible that all other assemblies are managed.

from javascriptengineswitcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.