<div dir="ltr">See replies inline:<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jul 28, 2016 at 1:51 PM Mukul Sabharwal <<a href="mailto:mjsabby@gmail.com">mjsabby@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All,<br>
<br>
Sort of a lurking IronPython user, but I wanted to reach out to the<br>
community on some work I've been wanting to do for a while now -<br>
getting IronPython 2.7.X to run on .NET Core.<br></blockquote><div><br></div><div>This is something we discussed in the Community Meeting today on Gitter. slozier is looking into this as well, so please coordinate so there is no duplicated effort.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I've done preliminary analysis of IronPython and its dependencies<br>
(excluding the AspNet and WPF stuff) and I believe getting 2.7.X to<br>
run on .NET Core wouldn't be an astronomical amount of work.<br>
<br>
The major themes of the issues are:<br>
<br>
(1) Project Setup<br>
(2) FEATURE_REMOTING<br>
(3) FEATURE_WPF<br>
(4) Debugging<br>
<br>
== Project Setup<br>
<br>
Today .NET Core supports a couple of different ways to setup projects,<br>
the traditional csproj and an xproj setup. The tooling from Visual<br>
Studio is integrated well for xproj, but the direction .NET Core is<br>
moving in is to use csproj hence forth. So, in my mind using csproj<br>
makes complete sense, and while the documentation is a bit sparse we<br>
could setup csproj today to make .NET Core projects<br></blockquote><div><br></div><div>We discussed this in the community meeting today and determined that we will look at the xproj/project.json for now and once csproj support is updated, we will using the conversion tool to convert to that.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
== FEATURE_REMOTING<br>
<br>
This feature is not provided the cross-platform CoreCLR runtime, so<br>
.NET Core support will invariably not be able to have this.<br>
<br></blockquote><div><br></div><div>That's fine, people won't want to use remoting if it doesn't exist on the platform anyway, so leaving this out is fine.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
== FEATURE_WPF<br>
<br>
APIs around WPF are not available on .NET Core. I haven't dug deep as<br>
to what IronPython.WPF really does but suffice to say it won't be part<br>
of the .NET Core build either.<br>
<br></blockquote><div><br></div><div>Same goes for this, we don't ship stuff for .NET Core that isn't supported by .NET Core.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
== Debugging<br>
<br>
This one maybe tricky to resolve just yet. The problem is that the<br>
support for debugging runtime generated code is supplied by the CLR,<br>
and is somewhat linked to the native debug format on Windows (PDB).<br>
There maybe some challenges here around saving assemblies as well, but<br>
it's possible to maneuver this space later on.<br>
<br>
I'm not familiar with IronPython 3's development status, hence I'm<br>
leaving that out specifically from my work, but I suspect it would be<br>
similar work to get it ready.<br>
<br>
And finally, if there are other interested members who are also<br>
interested in helping out or doing more here please let me know.<br>
<br>
P.S. - I'm not very familiar with IronPython's rules of engagement,<br>
i.e  if mailing list is better or the GitHub pages, etc. So feel free<br>
to point me in a certain direction.<br>
<br></blockquote><div><br></div><div>Mailing list is good.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Mukul<br>
_______________________________________________<br>
Ironpython-users mailing list<br>
<a href="mailto:Ironpython-users@python.org" target="_blank">Ironpython-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/ironpython-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/ironpython-users</a><br>
</blockquote></div></div>