How to update Microsoft.Isam.Esent.Interop?

409 Views Asked by At

we create some libary with 'Microsoft.Isam.Esent.Interop'. After run on another PC I got this exception:

"Could not load file or assembly 'Microsoft.Isam.Esent.Interop, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

On our PC we have both versions '10.0.0.0' and '6.3.0.0' placet at

\Microsoft.NET\assembly\GAC_MSIL\microsoft.isam.esent.interop\v4.0_10.0.0.0__31bf3856ad364e35\Microsoft.Isam.Esent.Interop.dll

and

\Microsoft.NET\assembly\GAC_MSIL\microsoft.isam.esent.interop\v4.0_6.3.0.0__31bf3856ad364e35\Microsoft.Isam.Esent.Interop.dll

But, production has only '6.3.0.0'. So, I have a couple of questions:

  1. How can I update 'Microsoft.Isam.Esent.Interop.dll' version from '6.3' to '10.0'?
  2. Need I to compile with old version for working?
  3. Or, how may I make support for both versions?

Thank you.

1

There are 1 best solutions below

0
I.Frolov On BEST ANSWER

The DLL versions depends on Win version, because new Win versions has new data types.