0
我在我的應用程序中使用itextsharp
生成PDF文件,並在最後幾天的工作fine.But我收到以下錯誤iTextSharp的DLL版本錯誤
"Could not load file or assembly 'itextsharp, Version=5.5.9.0,
Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its
dependencies. The located assembly's manifest definition does not match
the assembly reference. (Exception from HRESULT: 0x80131040)"
我檢查該dll在bin文件夾,並深信DLL版本是5.5.8.0
和webconfig看起來像這樣
<dependentAssembly>
<assemblyIdentity name="itextsharp" publicKeyToken="8354ae6d2174ddca" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.5.8.0" newVersion="5.5.8.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="itextsharp.xmlworker" publicKeyToken="8354ae6d2174ddca" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.5.8.0" newVersion="5.5.8.0" />
</dependentAssembly>
是它的託管相關的問題或者是問題,從我們身邊?