Bob Pawley

Bob Pawley

  • NA
  • 1
  • 16.7k

Npgsql error

Feb 2 2011 6:33 PM

Hi
I am new to C# and .net.
I am attempting to use Npgsql to connect to a remote PostgreSQL database.
I have referenced an Npgsql.dll and a Mono.Security.dll and put them both in the using clause.
When I build or compile the solution I get the message -
"Could not load file or assembly 'Npgsql, Version=2.0.11.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7'or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.(Exception from HRESULT: 0x80131040)"
I haven't found any viable solution in my searching of the internet.
I am using C# 2008 Express on Win 7.
Any help will be appreciated.
Bob