-
Re: Zebra.Printer.SDK InteropServices Exception
Jonathan Muniz Nov 9, 2018 6:39 AM (in response to Walter Goydych)1 of 1 people found this helpfulI had the same problem here.
The fix is pretty simple: edit the config file and on the node "dependentAssembly" where name attribute is "System.Runtime.InteropServices.RuntimeInformation", just remove the publicKeyToken attribute.
Hope that this fix it to you.
-
Re: Zebra.Printer.SDK InteropServices Exception
Walter Goydych Nov 13, 2018 6:01 AM (in response to Walter Goydych)Fixed this issue for me, thanks so much Jonathan!
Grateful if it’s easy for you, could you please point me to an explanation of what this issue really was & why your fix worked?
-
Re: Zebra.Printer.SDK InteropServices Exception
Jonathan Muniz Nov 13, 2018 6:19 AM (in response to Walter Goydych)Hello Walter!
I think the error is not related with the Zebra SDK, but with the Microsoft InteropServices library, wich is a dependency to Zebra SDK works.
I found the solution in a thread of StackOverflow, the same error was happening to MongoDB libraries, and the guys fixed.
Visual Studio can't find the library when it has that hash code in the dependent assembly, if you remove it, just forces it to find in the referenced packages. This is just a workaround an I think Microsoft will fix this error soon.
Regards,
Jonathan
-