Skip to content

Not working with .NET Core v6 #320

Open

Description

@AOdwald

I spent past hour or so trying to get dotnet format working in my action pipeline for a .NET Core v6 project. I went through various configurations to the yml file but all end with the same result:

Unrecognized command or argument '--check'
Unrecognized command or argument '--dry-run'
Unrecognized command or argument '--files'

Is there any workaround for this?

Activity

  1. qubitz commented on Jan 28, 2022

    @qubitz

    Seems a ton of names for arguments and options have changed. dotnet/format#1268

  2. IncPlusPlus commented on Aug 15, 2022

    @IncPlusPlus

    Seems the new argument to check without changing files is --verify-no-changes.

  3. AnthonySteele-NewDay commented on Jan 19, 2023

    @AnthonySteele-NewDay

    Any update? Most of the issues here are caused by this project not tracking changes to dotnet format commandline options.
    Currently it's not obvious that this action is unusable with any supported version of .NET (version 6 or 7 as of January 2023), would be better if that's resolved one way or the other to clear up confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions