v2.5.1 compile error: BitOperations duplicate in System.Runtime
Error CS0433 : 类型“BitOperations”同时存在于“ZString, Version=2.5.1.0, Culture=neutral, PublicKeyToken=df4c250b14d82627”和“System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”中
Which platform?
Which platform?
windows下,我有的库引入了BitOperations的官方库(System.Numerics),ZString里自己Copy了一份进来,就会报重复
https://learn.microsoft.com/zh-cn/dotnet/api/system.numerics.bitoperations?view=net-7.0&source=recommendations
那不好解决吗?自己删掉重复的代码就好了。为什么提issue……
这种三方库,一般都是NuGet安装的
明白了,确实需要官方修改
@neuecc The BitOperations class conflict with https://learn.microsoft.com/zh-cn/dotnet/api/system.numerics.bitoperations?view=net-7.0&source=recommendations. Could you please fix it.
BitOperations shims is only exists in Unity version. I have no idea what the problem is.
But, it's in the Nuget package at the moment.
oh, sorry. I checked, and there seems to be an unintended issue with the compile include. I will fix it.
I've released v2.6.0, may solves it.
Thanks!