You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
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.
Activity
qubitz commentedon Jan 28, 2022
Seems a ton of names for arguments and options have changed. dotnet/format#1268
IncPlusPlus commentedon Aug 15, 2022
Seems the new argument to check without changing files is
--verify-no-changes.AnthonySteele-NewDay commentedon Jan 19, 2023
Any update? Most of the issues here are caused by this project not tracking changes to
dotnet formatcommandline 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.