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
It is a bit outside of the scope of csharpier.... but csharpier does sort usings. And the soon to be released 1.0.0 version does format xml. I'm thinking it would fit for csharpier to sort packages.props files. And possibly also some other known parts of csprojs - maybe just PackageReference elements. I think the order of PropertyGroup children can matter if they have conditions on them.
I looked around, but haven't found anything related.
Would it be possible to add a cleanup step for sorting packages in
Directory.packages.props
alphabethicaly?It's a pain in the ass doing this by hand, especially if someone (yeah, that happens....) puts the version before the package name.
It would be awesome to have CSharpier just reprint the whole thing in order, sort the attributes (like name, then version) etc.
I would even be willing to implement this if you agree that this is a good idea!
The text was updated successfully, but these errors were encountered: