zwave-lib-dotnet icon indicating copy to clipboard operation
zwave-lib-dotnet copied to clipboard

Problem with SerialPortLib 1.0.18

Open jgmdavies opened this issue 5 years ago • 2 comments

I get a 'Method not found' exception if I try to use version1.0.18 with your latest SerialPortLib, also 1.0.18:

Method not found: 'Void SerialPortLib.SerialPortInput.SetPort(System.String, Int32, System.IO.Ports.StopBits, System.IO.Ports.Parity)'. (MissingMethodException)

but not if I go back to SerialPortLib 1.0.16.

With SerialPortLib 1.0.16, I can connect to my Z-Stick Gen5, but calling Discovery gives:

Could not load file or assembly 'mscorlib.XmlSerializers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

which I don't know how to sort out - anyone else getting this?

Using VS2019, building for .NET Framework 4.6.2.

Thanks, Jim

jgmdavies avatar Jun 08 '19 14:06 jgmdavies

I upgraded the project to SerialPortLib 1.0.18. I hope this will fix the issue.

genemars avatar Jun 17 '19 21:06 genemars

@genemars Seems to have the same issue with 1.0.19 that creeped in. Works fine on 1.0.18. Created another Issue for you : https://github.com/genielabs/zwave-lib-dotnet/issues/41

01username avatar Jan 27 '20 23:01 01username