Home » c# » c# – How to fix dependentAssembly with the same public key token-Exceptionshub

c# – How to fix dependentAssembly with the same public key token-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

System.Runtime.CompilerServices.Unsafe and System.IO.FileSystem.Primitives has the same publickeytoken

And I get the error below:

An assembly with the same identity System.IO.FileSystem.Primitives,
Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
has
already been imported. Try removing one of the duplicate references.

How to&Answers: