Not working with .NET Core v6
LethalsLoaded opened this issue · comments
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?
Seems a ton of names for arguments and options have changed. dotnet/format#1268
Seems the new argument to check without changing files is --verify-no-changes
.
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.