"Microsoft.Scripting.Math.BigInteger" has been removed from "MMicrosoft.Dynamic.dll" in IronPython 2.7.11

94 views Asked by At

I have a plan to upgrade Iron Python of my project from V2.3.7 to 2.7.11. When I am replacing the new IronPython package, I found that "Microsoft.Scripting.Math.BigInteger" has been removed from Microsoft.Dynamic.dll and it makes my code error. Could you show me where to get BigInteger class to replace or any solution to fix this issue? Thank you!

1

There are 1 answers

0
Simon Opelt On

BigInteger was previously shipped with the dlr for older .NET (pre 4.0) versions. Given that IronPython no longer supports those targets, they removed it quite some time ago.

Nowadays you probably want to use System.Numerics.BigInteger which is supported starting with .NET 4.0.