austinulmer / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

Verify OpenHardwareMonitorLib version at startup #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following error is thrown when using the version 0.2.1 library with the 
version 0.3.0 application.

System.MissingMethodException: Method not found: 
'OpenHardwareMonitor.Hardware.IControl 
OpenHardwareMonitor.Hardware.ISensor.get_Control()'.
   at OpenHardwareMonitor.GUI.MainForm.treeView_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Either check that the library has the right version (same as application) or 
embed the library in the application assembly to prevent users mixing different 
releases.

Original issue reported on code.google.com by moel.mich on 3 May 2011 at 9:08

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r321.

Original comment by moel.mich on 15 May 2011 at 5:21