Hi,

As far as I can see, the most important point is to use a version of the 
Ironpython DLLS which are compiled for .NET 4.0 (or newer).

The current 2.7 distribution nowadays compiles for .NET 4.0 by default, and as 
far as I can see, the default installer comes with binaries build for 4 
different Flavours: .NET 3.5, .NET 4.0, .NET 4.5 and Silverlight 5.0.

Be sure to pick the right ones…

Best regards

Markus Schaber

CODESYS® a trademark of 3S-Smart Software Solutions GmbH

Inspiring Automation Solutions
________________________________
3S-Smart Software Solutions GmbH
Dipl.-Inf. Markus Schaber | Product Development Core Technology
Memminger Str. 151 | 87439 Kempten | Germany
Tel. +49-831-54031-979 | Fax +49-831-54031-50

E-Mail: m.scha...@codesys.com<mailto:m.scha...@codesys.com> | Web: 
codesys.com<http://www.codesys.com> | CODESYS store: 
store.codesys.com<http://store.codesys.com>
CODESYS forum: forum.codesys.com<http://forum.codesys.com>

Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade 
register: Kempten HRB 6186 | Tax ID No.: DE 167014915
________________________________
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received
this e-mail in error) please notify the sender immediately and destroy this 
e-mail. Any unauthorised copying, disclosure
or distribution of the material in this e-mail is strictly forbidden.
From: Ironpython-users 
[mailto:ironpython-users-bounces+m.schaber=codesys....@python.org] On Behalf Of 
Joseph McDermott
Sent: Monday, February 08, 2016 8:10 PM
To: ironpython-users@python.org
Subject: [Ironpython-users] Embedding Iron Python 2.7 in C# and .Net 4.5

I wish to embed IronPython 2.7 in a C# application as a scripting language.

There are many good examples from the period 2008-2010.  They no longer work. 
Either failing to compile or failing to load at runtime.  I have deleted and 
re-added all references with no luck.
Microsoft seems to have changed library structures in 2.7.

Does anyone have a CURRENT working example?

Joe



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

Reply via email to