The CSFlex tool is currently not compatible with .NET Core (references Windows Forms). This means that the tool cannot be run automatically as part of a Linux build and that in turn means that we
Years ago, I tried to remove Windows Forms references from CSFlex, but they turned out to be quite deeply integrated into the code. This won't be straightforward.
The ideal solution would be to create a portable custom tool (like T5) that the project can reference via NuGet. An alternative solution is to create an MSBuild task, but that requires creating cross-compiled package (.NET Framework for MSBuild/Visual Studio; .NET Core for the rest of the world).
The
CSFlextool is currently not compatible with .NET Core (references Windows Forms). This means that the tool cannot be run automatically as part of a Linux build and that in turn means that weLexer.csfrom version control (see Remove generated files from version control #116)Years ago, I tried to remove Windows Forms references from CSFlex, but they turned out to be quite deeply integrated into the code. This won't be straightforward.
The ideal solution would be to create a portable custom tool (like T5) that the project can reference via NuGet. An alternative solution is to create an MSBuild task, but that requires creating cross-compiled package (.NET Framework for MSBuild/Visual Studio; .NET Core for the rest of the world).