1 of 1 people found this helpful
I 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.
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?
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.