我们使用“Microsoft.Isam.Esent.Interop”创建了一些库。在另一台 PC 上运行后,我得到了这个异常:
"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."
在我们的 PC 上,我们有两个版本 '10.0.0.0' 和 '6.3.0.0' placet
\Microsoft.NET\assembly\GAC_MSIL\microsoft.isam.esent.interop\v4.0_10.0.0.0__31bf3856ad364e35\Microsoft.Isam.Esent.Interop.dll
和
\Microsoft.NET\assembly\GAC_MSIL\microsoft.isam.esent.interop\v4.0_6.3.0.0__31bf3856ad364e35\Microsoft.Isam.Esent.Interop.dll
但是,生产只有“6.3.0.0”。所以,我有几个问题:
- 如何将“Microsoft.Isam.Esent.Interop.dll”版本从“6.3”更新到“10.0”?
- 我需要用旧版本编译才能工作吗?
- 或者,我如何支持这两个版本?
谢谢你。