[Mono-dev] VBNC and embedding
Robert Jordan
robertj at gmx.net
Fri Jul 31 11:01:08 EDT 2009
bassraf at gmail.com wrote:
> Hi guys,
>
> I have successfully integrated mono as scripting engine using
> CSharpCodeProvider and the embedding api. However, ever since mono
> 2.0, switching to Microsoft.VisualBasic.VBCodeProvider() as the code
> provider will always give me VBNC_CRASH at line 0 as an error result
> when trying to compile a very basic piece of VB.NET code. All I do is
> switch the code provider (and the script code obviously).
>
> Is there anyone who is using the VBCodeProvider under the 2.x runtime
> successfully that can tell me what’s going on?
It works fine for me when I'm trying to compile some basic
VB code.
Are you sure that you're switching the runtime correctly to run
on the 2.0 profile? VBCodeProvider does not support .NET 1.1.
Robert
More information about the Mono-devel-list
mailing list