On Thu, Apr 17, 2008 at 8:33 PM, David Seruyange <[EMAIL PROTECTED]> wrote:
>
> Are all framework types accessible from a hosted engine? While the module
> loads fine using the above code, a reference to the StringBuilder (which
> works fine when executing a file that references the module) produces an
> error "name StringBuilder not defined." (The module does have a "from
> System.Text import *") -
The console does the equivalent of the following:
runtime.LoadAssembly(typeof(string).Assembly);
runtime.LoadAssembly(typeof(System.Diagnostics.Debug).Assembly);
You'll need to execute similar code if you want to access the same assemblies
--
Curt Hagenlocher
[EMAIL PROTECTED]
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com