I'm developing a windows 10 universal app in VS15 using the new .NETCore reference assemblies and want to reference the IronPython library. Unfortunately, IronPython targets .NETFramework and not .NETCore. Does anybody know of an alternative library for running python scripts within .NET using C#, a way to make IronPython portable, or a way to work around the project targeting .NETCore? Other possible solutions welcomed. Also does anybody know whether IronPython will become .NETCore compatible/if that's possible? Thank you. PS I am trying to execute very simple python scripts and display the interpreter's output.
net core is still in progress. Update: with IronPython 2.7. 10, the IronPython-Team added support for . NET Core 3.1.
Microsoft abandoned IronPython (and its sister project IronRuby) in late 2010, after which Hugunin left to work at Google. The project is currently maintained by a group of volunteers at GitHub.
IronPython works as an extension to the . NET Framework, but it can also be used by . NET projects to take advantage of Python's scripting power. Other than that, since IronPython is a real implementation of Python itself, there's no need to learn a new language or extra features if you already know Python.
Python is Python, the only difference is that IronPython was designed to run on the CLR (. NET Framework), and as such, can inter-operate and consume . NET assemblies written in other .
The IronPython-Team just released the beta of IronPython 2.7.8 supporting mono and .net core:
more infos here: https://github.com/IronLanguages/ironpython2/releases
There is also a nuget package IronPython
. You probably need to switch from Stable only
to Include Prerelease
IronPython 3 with support for mono and .net core is still in progress.
Update: with IronPython 2.7.10, the IronPython-Team added support for .NET Core 3.1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With