diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e60761ae5d..d886bcaa6d 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,6 @@ +#### 0.27.16 - 13.02.2015 +* COSMETICS: Paket should not reformat app/web.config files while changing assembly redirects - https://github.com/fsprojects/Paket/issues/597 + #### 0.27.15 - 13.02.2015 * BUGFIX: Parsing of conditional dependencies should detect portable case - https://github.com/fsprojects/Paket/issues/594 diff --git a/src/Paket.Core/BindingRedirects.fs b/src/Paket.Core/BindingRedirects.fs index 3822c5a38e..c27cc71953 100644 --- a/src/Paket.Core/BindingRedirects.fs +++ b/src/Paket.Core/BindingRedirects.fs @@ -50,7 +50,7 @@ let internal setRedirect (doc:XDocument) bindingRedirect = /// Applies a set of binding redirects to a single configuration file. let private applyBindingRedirects bindingRedirects (configFilePath:string) = - let config = XDocument.Load configFilePath + let config = XDocument.Load(configFilePath, LoadOptions.PreserveWhitespace) let config = Seq.fold setRedirect config bindingRedirects config.Save configFilePath