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

New Post: Problem Calling VBScript Function

$
0
0
I copied your code into my app and executed on a Windows form Button_Click and I get the same error as before. The InnerException says.
Public member 'Main' on type 'VBScriptTypeInfo' not found.
I am using Clearscript Version 5.3.10.0 that I installed as a NuGet package.

I then created a new console app in VB.net, installed ClearScript NuGet package and copied your code directly into my Sub Main. When I run the app, it generates the same error message when trying to execute engine.Script.Main(). In this case, because I created a bare bones console app with nothing more than the code you provided, I can't think of anything I am doing that may be different in any way.

Does ClearScript have other dependencies that may not be correct on my machine? Are you using ClearScript 5.3.10.0?

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles



Latest Images