Can not locate xmpir64.dll
After installing and starting my project, I get this exception:
System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'Mpir.NET.mpir' threw an exception.
Source=Mpir.NET
StackTrace:
at Mpir.NET.mpir.mpz_init_set_si(Int32 op)
at Mpir.NET.mpz_t..ctor(Int32 op)
at Mpir.NET.mpz_t.op_Implicit(Int32 value)
at PiDemo.Program.<EnumPi>d__0.MoveNext() in C:\Users<user>\source\repos\PiDemo\Program.cs:line 13
at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection)
at System.Collections.Generic.List1.AddRange(IEnumerable1 collection)
at PiDemo.Program.Main(String[] args) in C:\Users<user>\source\repos\PiDemo\Program.cs:line 58
This exception was originally thrown at this call stack: [External Code]
Inner Exception 1: Exception: MPIR: can't determine path to the xmpir64.dll