Strange exception happens when I work in VS 2010. I’m creating web project and insert button. When I double click on the button to create onClick event, I get a message box from Visual Studio which says: “visual studio has encountered an exception. this may be caused by an extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file”
When I do that in cmd, it creates an ActivityLog file which has a few tags like this one:
<description>
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TagAggregator'.

at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTags>d__e.MoveNext()

at RemObjects.Oxygene.VisualStudio.Editor.MessageHighlightAdornmentManager.TextBuffer_Changed(Object sender, TextContentChangedEventArgs e)

at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)
</description>
What does that mean?
That means that an extension that uses RemObjects.Oxygene has a bug.