Search code examples
.netpostgresqlvisual-studio-2017npgsql.net-framework-version

neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."


Can anyone help me, I'm working on .NET Framework version 4.5. I'm trying to add the data connection of PostgreSQL but this message came out.

"Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."

I tried different version but it didn't work.


Solution

  • This is a known issue that is already reported on github. Upvote the issue and look for fixes.