Rank: Newbie Groups: Member
Joined: 12/6/2018 Posts: 6
|
Hi,
I work on a .net C# application which uses version 4.0.32.2 of EO.Pdf.dll. This file is listed in the references of the project and is installed with the application on the client's computer in the application directory.
I need to update EO.Pdf.dll to deploy this application on computers with W10 OS.
We bought the license for License Key for EO.Pdf 2018 and uploaded the package EO.Total 2018. I installed the packaged on my laptop (=> C:\Program Files (x86)\Essential Objects) and only copy the EO.Pdf.dll file from this directory to update the EO.Pdf.dll file in my application directory.
then I made an update of : - EO.Pdf.dll in the application directory from version 4.0.32.2 to 18.3.46.0 (overwritten of this file only as it was the only one present previously in my application directory) - his reference in Visual Studio Project from version 4.0.32.2 to 18.3.46.0 too.
The build of the solution with version 18.3.46.0 for EO.Pdf.dll raises an error "Sytem.TypeInitializationException".
After several attempt to solve this issue, I updated the reference of EO.Pdf.dll file as follow : - previous reference = EO.Pdf.dll in my application directory - new reference = EO.Pdf.dll in C:\Program Files (x86)\Essential Objects
Build the solution and start my application without any error raised.
Does it mean that EO.Pdf.dll needs other(s) file(s) from C:\Program Files (x86)\Essential Objects ? Which ones ? EO.Base.dll ? others ? Which are the differences between EO.Pdf.dll version 4.0.32.2 and EO.Pdf.dll version 18.3.46.0 ? I have to integrate this/these other(s) file(s) in my application directory to avoid any error. Is it right ?
Thanks a lot in advance for your support.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
You also need EO.WebEngine.dll and EO.WebBrowser.dll for the new version. So make sure those two files are there as well.
If you still have problems, please try to catch the exception and call exception.ToString() to get the complete information about the exception, that would include the exception's message, stack trace and inner exception, which will help us to pin point the location further.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 12/6/2018 Posts: 6
|
Thanks a lot for your feedback. I will integrate this 4 dlls in my project :
- EO.Pdf.dll - EO.Base.dll - EO.WebEngine.dll - EO.WebBrowser.dll
Do i need also to integrate each xml corresponding file ? - EO.Pdf.xml - EO.Base.xml - EO.WebEngine.xml - EO.WebBrowser.xml
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Sorry that we missed EO.Base.dll. No. You do not need the xml files at runtime. Those are for IntelliSense purpose.
|