Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paket reformat my app/web.config files while changing assembly redirects #597

Closed
dnauck opened this issue Feb 11, 2015 · 3 comments
Closed

Comments

@dnauck
Copy link
Contributor

dnauck commented Feb 11, 2015

When using the Redirects option paket reformats my app.config and web.config files on every operation (restore, install, add, ...)

Especially removing blank lines i added for easier reading.

@isaacabraham
Copy link
Contributor

Mmmm. This is because we essentially overwrite the file with a new one - this isn't unsurprising as we use XDocument rather than raw string manipulation

@dnauck
Copy link
Contributor Author

dnauck commented Feb 11, 2015

Maybe this helps: PreserveWhitespace option

@forki forki closed this as completed in 429a832 Feb 13, 2015
@forki
Copy link
Member

forki commented Feb 13, 2015

could you please check if the change helps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants