[MonoDevelop] Monodevelop on linux - impossible to use Mono.TextEditor
E.
siuksliu.statine at gmail.com
Fri Oct 10 15:10:11 UTC 2014
I've done that.
Now I can not create Widget because of this error:
</././>
System.IO.IOException: Error while loading style :Default --->
System.Exception: Could not load file or assembly 'Xwt, Version=0.1.0.0,
Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its
dependencies.
at Mono.TextEditor.Highlighting.SyntaxModeService.LoadStyle
(System.String name) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.TextEditor.Highlighting.SyntaxModeService.LoadStyle
(System.String name) [0x00000] in <filename unknown>:0
at Mono.TextEditor.Highlighting.SyntaxModeService.GetColorStyle
(System.String name) [0x00000] in <filename unknown>:0
at Mono.TextEditor.TextEditorOptions.GetColorStyle () [0x00000] in
<filename unknown>:0
at Mono.TextEditor.TextArea.OptionsChanged (System.Object sender,
System.EventArgs args) [0x00000] in <filename unknown>:0
at Mono.TextEditor.TextArea.Initialize (Mono.TextEditor.TextEditor
editor, Mono.TextEditor.TextDocument doc, ITextEditorOptions options,
Mono.TextEditor.EditMode initialMode) [0x00000] in <filename unknown>:0
at Mono.TextEditor.TextEditor..ctor (Mono.TextEditor.TextDocument
doc, ITextEditorOptions options, Mono.TextEditor.EditMode initialMode)
[0x00000] in <filename unknown>:0
at Mono.TextEditor.TextEditor..ctor (Mono.TextEditor.TextDocument
doc, ITextEditorOptions options) [0x00000] in <filename unknown>:0
at Mono.TextEditor.TextEditor..ctor (Mono.TextEditor.TextDocument
doc) [0x00000] in <filename unknown>:0
at Mono.TextEditor.TextEditor..ctor () [0x00000] in <filename unknown>:0
at MainWindow..ctor () [0x00001] in
/home/egis/Dropbox/Workspace/c#/texeditorius/texeditorius/MainWindow.cs:7
at texeditorius.MainClass.Main (System.String[] args) [0x00006] in
/home/egis/Dropbox/Workspace/c#/texeditorius/texeditorius/Program.cs:13
<.....>
On 2014.10.10 17:52, Eberhard Beilharz wrote:
> You probably need to copy /Mono.TextEditor.dll.config/ next to
> /Mono.TextEditor.dll/
>
> Eberhard
>
> Yannick
> Inizan <inizan.yannick at gmail.com> wrote on 2014-10-10 at 16:41 +0200:
>> your .dll.config is wrong, or not installed nearby TextEditor dll
>>
>> 2014-10-10 16:30 GMT+02:00 E. <siuksliu.statine at gmail.com
>> <mailto:siuksliu.statine at gmail.com>>:
>>
>> Hello
>> I have two of those files:
>> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
>> /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.23
>>
>> what should I do with that information?
>> Maybe could someone write a solution for me?
>>
>>
>> On 2014.10.08 00:22, yannick inizan wrote:
>>> please run this command : "locate libgtk-x11-2.0.so.0"
>>>
>>> 2014-10-07 23:14 GMT+02:00 Šiukšlynas
>>> <siuksliu.statine at gmail.com <mailto:siuksliu.statine at gmail.com>>:
>>>
>>> Tell me a little bit more:
>>> How can I fix it by editing something?
>>>
>>> On 2014.10.07 23:42, yannick inizan wrote:
>>>> this is an error in a dll.config. gtk-win32 on linux is a
>>>> link to gtk-x11
>>>>
>>>> 2014-10-07 22:38 GMT+02:00 Šiukšlynas
>>>> <siuksliu.statine at gmail.com
>>>> <mailto:siuksliu.statine at gmail.com>>:
>>>>
>>>> Hello.
>>>> Could anybody help to solve this problem:
>>>> I try to use Mono.TextEditor, but I'm getting in
>>>> trouble with this:
>>>>
>>>> Unhandled Exception:
>>>> System.IO.FileNotFoundException: Could not load file or
>>>> assembly 'Mono.TextEditor, Version=1.0.0.0,
>>>> Culture=neutral, PublicKeyToken=null' or one of its
>>>> dependencies.
>>>>
>>>>
>>>> I have tried to set "Local copy" to TextEditor
>>>> reference, to ICSharpCode.
>>>>
>>>> After those steps I'm getting that:
>>>>
>>>> System.DllNotFoundException: libgtk-win32-2.0-0.dll
>>>> at at (wrapper managed-to-native)
>>>> Mono.TextEditor.PangoUtil:gtk_widget_create_pango_layout (intptr,intptr)
>>>> at Mono.TextEditor.PangoUtil.CreateLayout (Gtk.Widget
>>>> widget) [0x00000] in <filename unknown>:0
>>>> at Mono.TextEditor.FoldMarkerMargin..ctor
>>>> (Mono.TextEditor.TextEditor editor) [0x00000] in
>>>> <filename unknown>:0
>>>> at Mono.TextEditor.TextArea.Initialize
>>>> (Mono.TextEditor.TextEditor editor,
>>>> Mono.TextEditor.TextDocument doc, ITextEditorOptions
>>>> options, Mono.TextEditor.EditMode initialMode)
>>>> [0x00000] in <filename unknown>:0
>>>> at Mono.TextEditor.TextEditor..ctor
>>>> (Mono.TextEditor.TextDocument doc, ITextEditorOptions
>>>> options, Mono.TextEditor.EditMode initialMode)
>>>> [0x00000] in <filename unknown>:0
>>>> at Mono.TextEditor.TextEditor..ctor
>>>> (Mono.TextEditor.TextDocument doc, ITextEditorOptions
>>>> options) [0x00000] in <filename unknown>:0
>>>> at Mono.TextEditor.TextEditor..ctor
>>>> (Mono.TextEditor.TextDocument doc) [0x00000] in
>>>> <filename unknown>:0
>>>> at Mono.TextEditor.TextEditor..ctor () [0x00000] in
>>>> <filename unknown>:0
>>>> at MainWindow..ctor () [0x00001] in
>>>> /home/USER/Dropbox/Workspace/c#/HCIprocess/test123/test123/MainWindow.cs:8
>>>> at test123.MainClass.Main (System.String[] args)
>>>> [0x00006] in
>>>> /home/USER/Dropbox/Workspace/c#/HCIprocess/test123/test123/Program.cs:11
>>>>
>>>>
>>>>
>>>> QUESTION :
>>>>
>>>> How to code and use Mono.TextEditor on linux?
>>>> _______________________________________________
>>>> Monodevelop-list mailing list
>>>> Monodevelop-list at lists.ximian.com
>>>> <mailto:Monodevelop-list at lists.ximian.com>
>>>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20141010/a048e664/attachment.html>
More information about the Monodevelop-list
mailing list