C# code in a C# project is fine. But if I try to type anything into a D project file I get the following error:
System.MissingMethodException: Method not found: 'Mono.TextEditor.DocumentLine Mono.TextEditor.TextEditorData.GetLine(Int32)'.
at MonoDevelop.D.Formatting.DTextEditorIndentation.KeyPress(Key key, Char keyChar, ModifierType modifier)
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
at MonoDevelop.D.DEditorCompletionExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.KeyPress(Key key, Char keyChar, ModifierType modifier)
at MonoDevelop.SourceEditor.ExtensibleTextEditor.ExtensionKeyPress(Key key, UInt32 ch, ModifierType state)
Maybe a bug. Maybe I have a setting wrong.
I’ve had the same problem.
You will need to pull in the latest updates for MonoDevelop (2.9.5) for mono-d to work properly.