Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Windows 8.1, 10, WindowsPhone, Windows UWP

Adding reference in Windows Store app

More
IP: 192.168.0.71 9 years 3 months ago - 9 years 3 months ago #12517 by dargod
Hi all,
I'm trying to add library into my existing projects but I'm getting error in OnLaunched() in first line where PDFGlobal is called.

An exception of type 'System.TypeLoadException' occurred in abc.exe but was not handled in user code

Additional information: Requested Windows Runtime type 'RDPDFLib.pdf.PDFGlobal' is not registered.

I added full RDPDFLib project into my solution but also same happens with winmd

Can anyone help with this one?

Screenshot attached
Last edit: 9 years 3 months ago by dargod.
More
IP: 192.168.0.71 9 years 3 months ago #12522 by nermeen
Make sure to add RDPDFLIb.dll and RDPDFLIb.winmd for x86, x64 and arm.

what version of Visual Studio you are using?
More
IP: 192.168.0.71 9 years 3 months ago #12524 by dargod
I'm using VS 2015 with Update 3 for this project.
I added full VC++ project to my solution and referenced in in main project so not sure why I should add dll's.
Thanks!
More
IP: 192.168.0.71 9 years 3 months ago #12525 by nermeen
Can you please send us a sample project that can be used to reproduce your issue?
More
IP: 192.168.0.71 9 years 3 months ago #12527 by dargod
Sure. Have a look on sample project below:

www.dropbox.com/s/x8jxpr45kyrzvtm/DocViewer.zip?dl=0
More
IP: 192.168.0.71 9 years 3 months ago #12531 by nermeen
We have checked your sample project, it was missing the lib directory.
After adding it, we was able to build and run correctly the project.

You can find Your project with lib integrated here own.mobiles.it/index.php/s/bR3X7lHevEJkSVA
Time to create page: 0.469 seconds
Powered by Kunena Forum