Skip to content

Usage of dotnet format on CI pipeline #47545

Open
@vancodocton

Description

@vancodocton

Is your feature request related to a problem? Please describe.

My GitHub Actions workflow integrate dotnet format to verify coding styles. I built my solution using dotnet build -c Release --no-restore. The problem is that I cannot make dotnet format to utilize output of dotnet build because it internally builds my solution using Debug configuration. Consequently, it took double times for the build task.

Describe the solution you'd like

I would like that dotnet format can support --no-build -c Release as dotnet publish, in order that my workflow will be faster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions