[IronPython] invoked member is not supported in a dynamic assembly

Zsidó Zoltán zsidoz at innodev.hu
Wed Feb 16 08:47:21 CET 2011


Hello Dino,

Thanks for the help. The problem was in the 3rd party dll...

Regards,

Zoltan

From: Dino Viehland 
Sent: Monday, February 14, 2011 6:52 PM
To: Discussion of IronPython 
Subject: Re: [IronPython] invoked member is not supported in a dynamic assembly

I don’t know why they would throw this exception themselves, but I would guess that they’re using reflection to find out the caller or something weird like that.

 

You probably need to create a thin C# wrapper which you call instead of calling it directly.  Or you could try using reflection to create an instance (although we may be doing that anyway).  You can also try calling it in a loop a couple hundred times and it may start succeeding as we do code gen and go through a faster code path.

 

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Zsidó Zoltán
Sent: Sunday, February 13, 2011 10:39 PM
To: users at lists.ironpython.com
Subject: [IronPython] invoked member is not supported in a dynamic assembly

 

Hello list members,

 

We use .net 4.0 and Ironpython 2.6.2

During executing script ironPython code we get the following exception:

"The invoked member is not supported in a dynamic assembly"

at this line:

advancedSlider1 = AdvancedSlider()

 

AdvancedSlider class is in a 3rd party dll. It is PerpetuumSoft.Widgets.dll

 

If we use .net 3.5 and IronPython 2.0.3 then it works.

 

Any idea about it?

Could I save the assembly to the filesystem instead of using dynamic assembly?

 

Thanks,

 

Zoltan Zsido



--------------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20110216/e45cbe2a/attachment.html>


More information about the Ironpython-users mailing list