dotnet format is really slow, you can also try roslynator like in this command:
roslynator
roslynator fix .\Lucene.Net.sln --supported-diagnostics NUnit2002 NUnit2003 NUnit2004