[Ironpython-users] WF and Ipy

cold_fusion at fastmail.fm cold_fusion at fastmail.fm
Sun Dec 9 19:11:16 CET 2012


Hello,

I have a WPF app (written in C#) which re-hosts the WF designer along
with a toolbox control, and I want to add activities written as python
classes (inherited from NativeActivity) to the toolbox.
Creating a class and wrapping it in ToolboxItemWrapper works fine, but
the problem arises when trying to add the wrapped object to a
ToolboxCategory, I get an exception claiming that the assembly file
cannot be found:

"Could not load file or assembly 'Snippets.scripting, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The
system cannot find the file specified."

I suppose this happens because the Snippets.scripting assembly is
dynamic and ToolboxCategory.Add tries to load it from file for some
reason.

Can anyone see a way around this?


Regards,
Avi

-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web



More information about the Ironpython-users mailing list