Welcome Guest Search | Active Topics | Sign In | Register

EO.Pdf, Version=19.2.91.0 won't load Options
MCH
Posted: Thursday, December 12, 2019 9:23:33 AM
Rank: Newbie
Groups: Member

Joined: 12/11/2019
Posts: 5
I get the error
error: Could not load file or assembly 'EO.Pdf, Version=19.2.91.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc' or one of its dependencies.
The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I do a new on the PDFGenerator. That works and sets the url.
Then I call the .Generate() function. It does not go into the function but drops to the catch.

I had this problem so I uninstalled it. closed all programs, rebooted my machine, reinstalled the program, Launched Visual Studio and still got this error.

from the proj file:

<Reference Include="EO.Base, Version=16.2.93.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc, processorArchitecture=MSIL">
<HintPath>..\packages\EO.Pdf.16.2.93.0\lib\EO.Base.dll</HintPath>
</Reference>
<Reference Include="EO.Pdf, Version=16.2.93.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc, processorArchitecture=MSIL">
<HintPath>..\packages\EO.Pdf.16.2.93.0\lib\EO.Pdf.dll</HintPath>
</Reference>
<Reference Include="EO.WebBrowser, Version=16.2.93.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc, processorArchitecture=MSIL">
<HintPath>..\packages\EO.Pdf.16.2.93.0\lib\EO.WebBrowser.dll</HintPath>
</Reference>
<Reference Include="EO.WebEngine, Version=16.2.93.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc, processorArchitecture=MSIL">
<HintPath>..\packages\EO.Pdf.16.2.93.0\lib\EO.WebEngine.dll</HintPath>
</Reference>

the code:
var pdf = new PdfGenerator(relurl);
var pdfStream = pdf.Generate();

this worked on an earlier version
MCH
Posted: Thursday, December 12, 2019 9:58:27 AM
Rank: Newbie
Groups: Member

Joined: 12/11/2019
Posts: 5
never mind. Turned out some references to the old version did not get deleted.
eo_support
Posted: Thursday, December 12, 2019 2:12:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Great. Glad to hear that it's working for you now.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.