Asp.Net MVC with Javascript Viewengine for serverside rendering - BuildError on server

Viewed 393

I'm using : https://github.com/Buildstarted/Javascript.ViewEngines as additional Viewengine.

This way i can server side render javascript, react, angular, ... ( it worked before)

For this i need to include a couple of dll in the root directory ( which is weird, but always done it like this)

The files are:

  • ClearScriptV8-32.dll
  • ClearScriptV8-64.dll

  • v8-ia32.dll

  • v8-x64.dll

When running it locally ( on 2 dev computers). Everything runs OK. The problem starts when i publish to either Azure or a "Web Deploy" on my own server.

My own publish gives me this:

Could not load file or assembly 'ClearScriptV8-32' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Azure also: Could not load file or assembly 'ClearScriptV8-64' or one of its dependencies. An attempt was made to load a program with an incorrect format.

1 Answers
Related