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

New Post: V8ScriptEngine - System.IO.FileNotFoundException occurred in mscorlib.dll

$
0
0
Hi egooner,

This exception is expected during the initialization of ClearScript's V8 support. It should be handled internally.

The long story: ClearScript allows hosts to override its V8 assembly loading procedure via assembly resolution. If the host doesn't provide an assembly resolution handler, the runtime generates this exception; ClearScript handles it and continues with its normal loading procedure.

If you're building ClearScript, you can eliminate the exception (along with the assembly resolution feature) by removing or commenting out these lines in ClearScript\V8\V8Proxy.cs:
try
{
    return Assembly.Load("ClearScriptV8");
}
catch (FileNotFoundException)
{
}
Good luck!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images