Enums.NET icon indicating copy to clipboard operation
Enums.NET copied to clipboard

System.Runtime.CompilerServices.Unsafe

Open PandaWood opened this issue 2 years ago • 1 comments

No doubt this is my fault, with some other config But I had to roll back Enums.NET v3 to avoid getting this runtime error - only when running tests.

Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at System.Runtime.CompilerServices.UnsafeUtility.As[TFrom,TTo](TFrom& source)
   at EnumsNET.Enums.GetName[TEnum](TEnum value) in C:\Users\tydud\source\repos\TylerBrinkley\Enums.NET\Src\Enums.NET\Enums.cs:line 963

PandaWood avatar Dec 13 '22 23:12 PandaWood

Similar issue here, could it be updated to use the latest stable System.Runtime.CompilerServices.Unsafe 6.0?

cvasquez-github avatar Jun 27 '23 20:06 cvasquez-github

Same here, I have to use now version 3.0.3 to prevent this error.

FelipeCostaGualberto avatar Mar 24 '24 22:03 FelipeCostaGualberto

same problem

softboy99 avatar Apr 26 '24 07:04 softboy99

we use npoi ,which depends on this >=4.0.1 version, pls help repack nuget pack,thanks

softboy99 avatar Apr 26 '24 07:04 softboy99

Fixed in #49

TylerBrinkley avatar May 03 '24 03:05 TylerBrinkley