svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
696 stars 176 forks source link

The software source code of version 1.5.2.2 cannot be compiled normally #158

Closed lianzaozi closed 4 years ago

lianzaozi commented 4 years ago

When using Visual studio software to compile the source code of the plotter of version 1.5.2.2, it cannot be compiled normally, and visual studio will report an error.

svenhb commented 4 years ago

Can you show the error here? Probably an outdated file.

lianzaozi commented 4 years ago

Can you show the error here? Probably an outdated file.

The error message is as follows:

CS1061'"Settings" does not contain the definition of "sizeSerForm1", and the accessible extension method "sizeSerForm1" that can accept the first "Settings" type parameter cannot be found (are you missing a using directive or assembly reference?) GRBL-Plotter D :\GRBL-Plotter-V1.5.2.2 20201025\GRBL-Plotter-master\GRBL-Plotter\MachineControl\ControlSerialForm.cs 166 Active image

CS1061'"Settings" does not contain the definition of "sizeSerForm1", and the accessible extension method "sizeSerForm1" that can accept the first "Settings" type parameter cannot be found (are you missing a using directive or assembly reference?) GRBL-Plotter D :\GRBL-Plotter-V1.5.2.2 20201025\GRBL-Plotter-master\GRBL-Plotter\MachineControl\ControlSerialForm.cs 387 Active image

svenhb commented 4 years ago

I forgot to upload the settings files, check here: https://github.com/svenhb/GRBL-Plotter/tree/master/GRBL-Plotter/Properties

lianzaozi commented 4 years ago

It will now compile normally