cbcrouse / Versioning.NET

A dotnet tool that automatically increments versions in csproj files based on git commit hints.
MIT License
20 stars 3 forks source link

Versioning.NET remove user indentation and spacing in csproj files. #32

Closed 0nary closed 2 years ago

0nary commented 2 years ago

Describe the bug Versioning.NET remove user indentation and spacing in csproj files.

Expected behavior Only change the value of the Version/VersionPrefix.

Screenshots image

More can be seen at https://github.com/0nary/synapse/commit/ce5f268e9a5fcc19b74d971e62a679dbc1efec27.

cbcrouse commented 2 years ago

Problem is unfortunately worse after 'fixing' it. Now everything is being shrunk to 1 line due to when the document was loaded versus when the preserve space configuration was set.

image