Hi there,
I tried to use the latest release (v0.7.3) of protoc-gen-twincat.exe on Windows, but it crashes immediately when processing enums or messages.
The Error:
System.InvalidOperationException: TcHaxx.ProtocGenTc.TcPlcObjects.TcDUT cannot be serialized because it does not have a parameterless constructor.
The Solution:
I was able to fix this locally by cloning the repo and running dotnet build -c Release. The locally built executable works perfectly.
Thanks for this great tool!