We are also occosionally using an older version of spire.doc.(5.7.0.3040)
Since our upgrade of Spire.pdf we get this exception
System.MissingMethodException: Method not found: 'spr? spr?.?()'.
at spr?.?(spr? A_0, DigitalSignatures A_1, spr? A_2)
at spr?.?(spr? A_0, DigitalSignatures A_1, spr? A_2)
at spr?.?()
at spr?..ctor(Stream A_0)
at Spire.Doc.Document.LoadFromStream(Stream stream, FileFormat fileFormat, String password)
when we try to load an old word document (.doc file).
- Code: Select all
using (Spire.Doc.Document SpireDoc = new Spire.Doc.Document(sourceStream))
The error doesn't occur when we rollback to the old spire.pdf. So this raises the question: is spire.doc internally using methods in spire.pdf which aren't present anymore in the current version of spire.pdf.
[edit]
When I start a new blank project and add a reference to Spire.doc with a reference to Spire.License.dll (version 1.4.0.40) that came with the new version of Spire.pdf all is fine. However, as soon as i add a reference to Spire.pdf the problem occurs.
[/edit]
[edit2]
There defnitely is a dependency on spire.pdf.dll in spire.doc.dll.
I remove the reference to spire.doc from my project and spire.pdf from the bin directory.
Then I add the reference to spire.doc again and buiild the testproject.
In the bin-directory spire.pdf.dll reappears. That is, the old version which is in the same package folder as spire.doc.dlll. That's our old spire.pdf.dll version.
But we want to use the new spire.pdf.dll for our pdf's and the old spire.doc.dll only for simple documentconversion of ancient.doc files.
The latter doesn't work anymore because we upgraded spire.pdf.
[/edit2]