Hello, I tried using the FreeSpire.Doc NUGET to save DOCX and RTF documents as images (jpeg and gif). The first time I did this I didn't have any issues. Then I found out I could have PDFs as input, so I added FreeSpire.PDF NUGET to save a PDF as a DOCX. That worked, but then my FreeSpire.Doc stuff stopped working. This is the error I'm getting:
System.IO.FileLoadException
HResult=0x80131040
Message=Could not load file or assembly 'Spire.Pdf, Version=5.4.15.20046, 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)
Source=Spire.Doc
StackTrace:
at Spire.Doc.Document.ᜍ()
at Spire.Doc.Document..ctor()
at MessageConverter.worker.InterrogateWord(String FileWithPath) in C:\development\MessageConverter\MessageConverter\worker.cs:line 36
at MessageConverter.Program.Main(String[] args) in C:\development\MessageConverter\MessageConverter\Program.cs:line 21
Inner Exception 1:
FileLoadException: Could not load file or assembly 'Spire.Pdf, Version=5.2.17.19040, 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)
So I removed the FreeSpire.PDF NUGET and I still get the error. I've tried removing the FreeSpire.Doc nuget and adding the FreeSpire.Office NUGET and I get the same error.
Can two different FreeSpire NUGETS exist in the same solution? Is this a *FreeSpire* only issue or would I have the same issue if I got approval to purchase a non free version?