Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
When MonoDevelop writes out an msbuild/csproj file it serializes boolean values in lower case ("true" and "false"). Visual Studio serializes with the first letter capitalized ("True" and "False").
This is a constant annoyance with diffs/git in a team working in a mixed MD/VS environment.
In a related note, MD should generally not make any changes at the file level to XML nodes that it has not actually modified. All XML formatting (nodes, attributes, values) should be preserved. Changes it does write out should syntactically match VS.
The reason we can't just alter individual nodes is because of a historical design decision to serialize/deserialize the existing MonoDevelop project object model.
I'll open another bug to discuss general serialization issues. Let's let this bug be strictly about changing the serialization of boolean: true->True, false->False.
csharp> Boolean.Parse ("true").ToString ();
Any update on this?
Fixed in master.
I suspect this bug report was incorrect and caused a bad change to MonoDevelop.
From my tests Visual Studio 2010 and 2012 always use lowercase 'true' 'false' in new projects created from stock templates and after modifications are made and saved.
See this other bug reported after this change was made: