Our project has WPF and UWP platforms. Some WPF xaml files are converted to UWP xaml using a console program. Right now, most of the work is done with Replace, but I would like to use XDocument.Parse/ToString for more advanced features. The problem is that XDocument.ToString() loses its original formatting. Your library would help me preserve the formatting of the resulting file.
Our project has WPF and UWP platforms. Some WPF xaml files are converted to UWP xaml using a console program. Right now, most of the work is done with Replace, but I would like to use XDocument.Parse/ToString for more advanced features. The problem is that XDocument.ToString() loses its original formatting. Your library would help me preserve the formatting of the resulting file.