DYMO SDK, C# sample not working

  • Thread starter Thread starter Narayan Pinamaraju
  • Start date Start date
N

Narayan Pinamaraju

Guest
Hi,


I am trying to develop a printing solution using DYMO SDK. With latest version of SDK, usinf dot net C# Sample, I am encounting the following error, while trying to open the label file given in the samples.






System.IO.FileLoadException

HResult=0x80131040

Message=Could not load file or assembly 'DYMO.Common, Version=8.6.1.42858, Culture=neutral, PublicKeyToken=5426002a38745af9' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source=DYMO.Label.Framework

StackTrace:

at DYMO.Label.Framework.Label.Open(String uri)

at CSharp_Sample.Form1.Browse_Click(Object sender, EventArgs e) in C:\Users\cmcnxp\Documents\DYMO Label v.8 SDK\DYMO Label Framework\Samples\dotNET\C# Sample\Form1.cs:line 449

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

at CSharp_Sample.Form1.Main() in C:\Users\cmcnxp\Documents\DYMO Label v.8 SDK\DYMO Label Framework\Samples\dotNET\C# Sample\Form1.cs:line 291


Any Help with this will be greatly appreciated.

Continue reading...
 
Back
Top