[MonoDevelop] System.MissingMethodException: Method not found: 'ICSharpCode.NRefactory.Editor.TextChangeEventArgs.get_RemovedText'.

Mike Krüger mkrueger at xamarin.com
Sat Aug 11 12:07:34 UTC 2012


Hi

Are you building from source  - this error is caused by a dll version 
mismatch.
I think that there is a Mono.TextEditor.dll twice somewhere in your 
addin directory.

Regards
Mike
> Hi,
>
> I get this error. Help appreciated
>
> System.MissingMethodException: Method not found:
> 'ICSharpCode.NRefactory.Editor.TextChangeEventArgs.get_RemovedText'.
>    at Mono.TextEditor.TextDocument.OnTextReplacing
> (Mono.TextEditor.DocumentChangeEventArgs args) [0x0000b] in
> /home/alex/Documents/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs:400
>    at Mono.TextEditor.TextDocument.set_Text (System.String value) [0x0000f]
> in
> /home/alex/Documents/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Document/TextDocument.cs:169
>    at MonoDevelop.SourceEditor.SourceEditorView.Load (System.String fileName,
> System.Text.Encoding loadEncoding) [0x000a1] in
> /home/alex/Documents/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:567
>    at MonoDevelop.SourceEditor.SourceEditorView.Load (System.String fileName)
> [0x00000] in
> /home/alex/Documents/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs:496
>    at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName)
> [0x000f8] in
> /home/alex/Documents/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:1126
>
> MonoDevelop 3.1.0
> Installation UUID: 321da357-c62c-4be6-9642-382651060ea9
> Runtime:
> 	Mono 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2) (64-bit)
> 	GTK 2.24.10
> 	GTK# (2.12.0.0)
> Build information:
> 	Git revision: 87468f3a6674adcb472aeceb4acf88c63bc1c834
> 	Build date: 2012-08-11 06:47:09+0000
> Operating System:
> 	Linux
> 	Linux alex-laptop 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC
> 2012 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/System-MissingMethodException-Method-not-found-ICSharpCode-NRefactory-Editor-TextChangeEventArgs-get-tp4650888.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list