dymosoftware / DCD-SDK-Sample

DYMO Connect SDK Samples
Other
60 stars 26 forks source link

Key 'DYMO.LabelAPI.Interfaces.IDYMOBrush' not found Exception. #48

Open Daniel-Walther opened 2 years ago

Daniel-Walther commented 2 years ago

Hi

While loading a *.dymo label file I got the following exception:

An unhandled exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in System.Private.CoreLib.dll The given key 'DYMO.LabelAPI.Interfaces.IDYMOBrush' was not present in the dictionary.

IDymoLabel l = DymoLabel.Instance; l.LoadLabelFromFilePath("C:\ ....\myLabel.dymo");

.NET CORE 6 project (C#) DYMO.Connect.SDK 1.4.3.37 SkaiSharp 1.68.0

*.dymo label file was created with DYMO Connect 1.4.3.131

Thanks.

dymosoftware commented 2 years ago

I haven't test your environment, however SkiaSharp 1.68.0 will not be compatible with Net6.0. You can find the reference from https://www.nuget.org/packages/SkiaSharp/1.68.0.

Daniel-Walther commented 2 years ago

Thanks. Is there a way to use a Dymo printer in a .NET CORE project?