DCD-SDK-Sample
DCD-SDK-Sample copied to clipboard
Could not load file or assembly Interop.DYMOPrintingSupportLib
Hi DYMO Development Community,
My application is throwing the unhandled exception when I execute Framework.GetPrinters(). The following error pops up.
System.IO.FileNotFoundException: 'Could not load file or assembly 'Interop.DYMOPrintingSupportLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5426002a38745af9' or one of its dependencies. The system cannot find the file specified.'
I am using target .net framework 4.6 and also attached the screenshot of configuration packages. I tried to reinstall packages from Nuget package manager console but still didn't work.
Can anyone please help to explain the reason of issue and indicate the solution?
Thanks.
I'm having the same issue. Did you find a Work around to this?
I had the same problem a few days ago. Your code seems for managing the DLS and not for the Connect software (which is my case). I used a workaround like this:
- Uninstall NuGet package. It will remove references for DYMO.Common, DYMO.DLS.Runtime, DYMO.Label.Framework and Interop.DYMOPrintingSupportLib
- Add the manual reference for the first three DLL, searching in the folder "C:\Program Files (x86)\DYMO\DYMO Label Software\Framework"