Skip to content

build.cmd fails on main due to IDE0055 formatting errors #12454

@StevenTCramer

Description

@StevenTCramer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions