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.
Steps to reproduce:
1) Open a solution that is part of a git repository in MD (one that has multiple branches available). Make sure that the solution changes between branches. Right now this works with, for example, GLCube from monodroid-samples.
2) In terminal, check out another branch of the repo.
3) In monodevelop, a dialog should pop up that warns the user of external changes to the file.
4) Hit cancel.
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1+Enumerator[MonoDevelop.Components.Commands.ICommandBar].VerifyState () [0x00047] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Collections.Generic/List.cs:785
at System.Collections.Generic.List`1+Enumerator[MonoDevelop.Components.Commands.ICommandBar].MoveNext () [0x00000] in /private/tmp/monobuild/build/BUILD/mono-2.10.9/mcs/class/corlib/System.Collections.Generic/List.cs:789
at MonoDevelop.Components.Commands.CommandManager.UpdateToolbars () [0x00039] in /Users/builder/data/lanes/monodevelop-mac-2.8.8-series/2597e0c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1691
at MonoDevelop.Components.Commands.CommandManager.UpdateStatus () [0x00016] in /Users/builder/data/lanes/monodevelop-mac-2.8.8-series/2597e0c3/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1568
at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in <filename unknown>:0
If this is still happening in the post-2.8 branch, we should look into it, right?
I dont even get the dialog any more - I just get the standard Keep Changes/ Reload from Disk file header for each changed file now. Looks like the dialog is bypassed and there is no overall acceptance/cancellation of the changes.