我想从这里运行一个项目https://github.com/se-passau/SPLConqueror/tree/master/SPLConqueror
我在Xamarin Studio中打开了它(我运行的是OS X El Capitan 10.11.6),但在文件typeof(T),A.S.ToIntArray().Reverse().ToArray()中的文件typeof(T) 1287 (System.Array ret =Array.CreateInstance)中,它给出了错误信息
错误CS0012:类型System.Numerics.Complex' is defined in an assembly that is not referenced. Consider adding a reference to assemblySystem.Numerics,Version=4.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089‘(CS0012)
其中A.S.ToIntArray().Reverse().ToArray()被认为是关键部分。
我添加了nuget包System.Numerics.Vectors (因为没有其他带有System.Numerics的包),但错误仍然存在。
有谁知道怎么解决这个问题吗?提前感谢!
发布于 2017-04-04 19:18:14
您需要添加System.Numerics作为引用,然后才能使用它。
https://stackoverflow.com/questions/43204422
复制相似问题