Building A Solution On Visual Studio Online - PDFXEdit Issues

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
plgoldman
User
Posts: 36
Joined: Fri Jan 05, 2018 8:36 pm

Building A Solution On Visual Studio Online - PDFXEdit Issues

Post by plgoldman »

We're in the final phase of evaluation the PDF-XChange Editor SDK and have only one issue. We use continuous integration with Visual Studio Online and our builds fail because of the following error:

C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2234,5): Warning MSB3284: Cannot get the file path for type library "0aaff38c-cb91-4424-a8b9-f8b504acbe0c" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))

I've tried several different approaches to this issue including:
  • * Modifying the git.include file to allow the obj/Debug directory where the dlls are stored
    * Adding a "lib" folder to the git repository and putting a copy of the dlls there and then modifying the csproj file to add a <HintPath> pointing to the lib folder
Any suggestion you might have would be greatly appreciated.

Regards,
Paul
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Building A Solution On Visual Studio Online - PDFXEdit Issues

Post by Sasha - Tracker Dev Team »

Hello Paul,

I've asked Roman to look at this one, he said that from he sees that the sdk itself is not installed there thus the tlb is not registered. Then you will need to use ref on our libary not as an GUID, but a file.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
plgoldman
User
Posts: 36
Joined: Fri Jan 05, 2018 8:36 pm

Re: Building A Solution On Visual Studio Online - PDFXEdit Issues

Post by plgoldman »

As always, appreciate your looking into this issue. However, we have found a solution.

We moved the assemblies for "AXInterop.PDFXedit" and "Interop.PDFXedit" into a "ThirdParty" folder used to store these types of assemblies for our Solutions. We changed the path for the references to the "ThirdParty" folder and changed the "Embed Interop Types" to "False" on the properties page for each of the assemblies. Everything built without issue on Visual Studio Online and the "drops" when downloaded run without issue.

Again, thanks for taking the time to look into this.

Regards,
Paul
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Building A Solution On Visual Studio Online - PDFXEdit Issues

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply