Skip to Content
0
Mar 23, 2020 at 01:36 PM

How to Add SAPBobsCOM Type Library Reference Dynamically

1609 Views Last edit Mar 23, 2020 at 08:29 PM 2 rev

Hello,

When preparing my add-on in C#, I often add the SAPBobsCOM Type Library Reference manually in visual studio. now I would like to build my addon and have it use either SAPbobsCOM90.dll (For users running SAP Business One version 9.x) or SAPbobsCOM100.dll (For users running SAp Business One version 10.x)

Kindly advise on how I can add this reference dynamically so that I can only build one version.

Thanks in advance.