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
{{ message }}
Repository navigation
Directory.Packages.props updates no longer retain final line ending #723
Since updating to 4.7.1, I notice that diffs from applying upgrades to Directory.Packages.props in some automation of mine is dropping the final new line in the file:
I would expect the tool to only touch lines that have been edited.
Reacted by Michael, Stuart Lang, Frulfump and Nils Henrik Hals
changed the title [-]Directory.Packages.props updates no longer retain fine line ending[/-][+]Directory.Packages.props updates no longer retain final line ending[/+]on Mar 10, 2026
Activity
[-]Directory.Packages.props updates no longer retain fine line ending[/-][+]Directory.Packages.props updates no longer retain final line ending[/+]martincostello commentedon Mar 10, 2026
Curiously, only seems to happen if 2+ dependencies are updated. If it's only 1, then it's fine.
johan-lindqvist commentedon Apr 20, 2026
I'm also having issues where it doesn't seem to follow .editorconfig rules at all in the
Directory.Packages.propsfile.