Thanks Dino - no urgency for me. I usually compile DIE for my own use but
under 2.6A1 it runs fairly snappily even when run from ipy :-)
Thanks,
Davy
On Tue, Mar 31, 2009 at 11:54 PM, Dino Viehland wrote:
> Yeah there is apparently an issue here, Resolver reported it to me the
> other day off-
Wow, thanks a lot, Dino. I went ahead and imported the Assembly from
System.Reflection and it resolved it.
Samuel
2009/4/2 Dino Viehland
> You can do:
>
>
>
> import clr
>
> from System.IO import File
>
> clr.AddReference(Assembly.Load(File.ReadAllBytes(assemblyName)))
>
>
>
> *From:* users-bou
You can do:
import clr
from System.IO import File
clr.AddReference(Assembly.Load(File.ReadAllBytes(assemblyName)))
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Samuel Tjokrosoesilo
Sent: Thursday, April 02, 2009 10:43 AM
To: Discussion of Iron
I would like to be able to load assembly from byte array inside of
IronPython.
Is there any way to do it directly in IronPython? I'm unable to run
something like clr.AddReference(byte []).
Below is what I do in .NET DLR in order to make this work:
byte[] rawAssemblyFile = File.ReadAllBytes(assem