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

_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to