As a standard at my company, all code documents use 4 spaces instead of tabs, and all tabs are replaced with 4 spaces as necessary. This all works fine and dandy. However, recently I discovered that any time Nuget performs an update to my web.config, the entire file is rewritten with 2 spaces in stead of 4 for each level of indent. This is really annoying, as it causes our VCS to think the entire file has changed when only a few lines actually have. Is there a way to prevent this?
Nuget has closed the issue without regard for impact on development concerns.
If you want your web.config to use something other than the default 2 spaces for each level of indentation, you can always go to
Tools > Options > Text Editor > XML > Tabs
and change the settings there.
HTH.
Not aware of any solutions to this. You should probably raise this on NuGet discussions: http://nuget.codeplex.com/discussions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With