build.cmd fails on main due to IDE0055 formatting errors
Repro
git clone https://github.com/dotnet/razor.git
cd razor
./restore.cmd
./build.cmd
Expected
Build succeeds without analyzer failures.
Actual
build.cmd promotes warnings to errors, so hundreds of IDE0055 (Fix formatting) diagnostics appear in
src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces for the netstandard2.0, net8.0, and net9.0
target frameworks, causing the build to fail locally and in CI.