ironpython2 icon indicating copy to clipboard operation
ironpython2 copied to clipboard

Has 2.7.11 been validated against .NET 6?

Open JohnTenney opened this issue 5 years ago • 4 comments

I have an application running IronPython 2.7.11 with .NET 5 without problems. But it isn't running successfully in .NET 6. I don't have a small test program to demo the issue--I was just wondering if 2.7.11 has been validated to work with .NET 6 yet?

JohnTenney avatar Nov 23 '21 20:11 JohnTenney

@JohnTenney I have a .NET6 application that runs <PackageReference Include="IronPython.StdLib" Version="3.4.0-alpha1" /> Not really what you asked about, but at least that version works with .NET6.

uffebjorklund avatar Nov 23 '21 21:11 uffebjorklund

I am aware of some small incompatibilities with .NET 6 but (hopefully) none that should prevent an app from working. If you have more info it would be useful as I'm slowly preparing the next release...

slozier avatar Nov 23 '21 21:11 slozier

Looks like the problem was that ctypes.windll.user32.GetSystemMetrics now returns null.

JohnTenney avatar Nov 24 '21 05:11 JohnTenney

I think this is caused by one of the incompatibilities I mentioned. I should have a fix which I can port over from the ipy3 repo.

slozier avatar Nov 25 '21 14:11 slozier