I have F# solutions and projects that build using the .NET Core CLI (dotnet build). I would like to format my code using Fantomas (dotnet tool run fantomas).
The problem is that Fantomas does not understand .sln or .fsproj files. This means that I will need to maintain a script for calling Fantomas on each of my project files, which might become out-of-sync over time.
Is there a mechanism for easily using Fantomas with MSBuild that I am not aware of?