是否可以在同一个项目中使用这 3 个产品?
刚下载了每个的免费版本,Spire.PDF.dll版本不同,导致错误“System.IO.FileLoadException: Could not load file or assembly 'Spire.Pdf, Version=3.0.10.54040, Culture=neutral, PublicKeyToken=663f351905198cb3' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
Spire.doc 使用 3.0.10.54040 版本,Spire.Presentation 使用 3.0.49.58040
我尝试使用dependentAssembly
<dependentAssembly>
<assemblyIdentity name="Spire.Pdf" publicKeyToken="663f351905198cb3" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.0.10.54040" newVersion="3.0.49.58040" />
</dependentAssembly>
但是得到一个错误
TypeLoadException: Could not load type 'sprẒ' from assembly 'Spire.Pdf,
Version=3.0.49.58040, Culture=neutral, PublicKeyToken=663f351905198cb3'.