[Ironpython-users] Integrating a WPF IPy program with C#

Slide slide.o.mix at gmail.com
Mon Nov 3 18:51:24 CET 2014


It might help if you provide some code in a gist or something. Without
that, its going to be difficult for anyone to help.

On Mon, Nov 3, 2014 at 6:32 AM, Love, Matthew <Matthew.Love at analog.com>
wrote:

>  Hi IronPython users,
>
>
>
> I’ve created a C# program that runs an IronPython script.
>
> The script contains a GUI built in WPF.
>
>
>
> When I call it using the IronPython Engine in C#,
>
> I get the following error: “ImportError: No module named wpf”
>
>
>
> I’ve pointed the Engine to the system path.
>
>
>
> System.dll and mscorlib.dll have been loaded using the following code:
>
> engine.Runtime.LoadAssembly(typeof(string).Assembly);
>
> engine.Runtime.LoadAssembly(typeof(System.Diagnostics.Debug).Assembly);
>
>
>
> Does anyone know where I’m going wrong and how I can sort out this import?
>
>
>
> I’m on IPy 2.7.4.
>
>
>
> Regards,
>
> Matthew
>
>
>
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> https://mail.python.org/mailman/listinfo/ironpython-users
>
>


-- 
Website: http://earl-of-code.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20141103/374bab06/attachment.html>


More information about the Ironpython-users mailing list