Page 1 of 1

exporttomysql

Posted: Sat 04 Dec 2021 11:53 pm
by BrunswickWeather
Does Exporttomysql need updating with the change of Microsoft .Net Framework version in 3159?
Tried to run the file, yes I did have both the exe and config file (latest) in the CumulusMX directory.
It did run in 3152.
Result was this
'C:\CumulusMX>exporttomysql dayfile

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'MySqlConnector, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at ExportToMySQL.Program.Main(String[] args)'

Using 3152
'C:\CumulusMX>exporttomysql dayfile
Parameter: dayfile
Exporting dayfile: data\dayfile.txt
Dayfile exists, beginning export
Dayfile opened
21-12-04
4302 entries processed'

Re: exporttomysql

Posted: Sun 05 Dec 2021 11:29 am
by mcrossley
Yes it will. A work around to try for now if you need it is to use it. Create a new folder the Exporttomysql and copy in the dll's from a previous version of MX.

Re: exporttomysql

Posted: Sun 05 Dec 2021 5:04 pm
by mcrossley
New version now posted that is compiled against .Net 4.8