It was failing due to generated files being referenced in .NET projects but the files are missing because they are generated by `godot --generate-mono-glue` or `build_assemblies.py`.
dotnet format