Bug 2909 - Preserve the BOM in csproj files if it exists
Summary: Preserve the BOM in csproj files if it exists
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-01-16 10:12 UTC by Aaron Bockover
Modified: 2012-01-18 18:47 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Annoying diff (66.06 KB, image/png)
2012-01-16 10:13 UTC, Aaron Bockover

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Aaron Bockover 2012-01-16 10:12:54 UTC
VisualStudio writes the UTF-8 BOM at the start of the csproj files. MonoDevelop does not. If MonoDevelop is saving a file that when it opened had a BOM, it should persist that BOM back to the file. This is a constant problem with diffs across VS and MD in our team.

Effectively the same problem as bug 2612.

The attached is a daily problem for us in reviews and git fighting, showing both the boolean serialization issue and the BOM issue.
Comment 1 Aaron Bockover 2012-01-16 10:13:53 UTC
Created attachment 1201 [details]
Annoying diff

Diff in Review Board showing constant VS/MD fighting with BOM and boolean serialization differences.
Comment 2 Jeffrey Stedfast 2012-01-18 18:47:54 UTC
fixed in git master