Mono-D in Xamarin Studio – a first screenshot

New Screenshot with Mono-D in Xamarin Studio

5 Comments

  • Tim
    February 22, 2013 - 11:18 am | Permalink

    I always get the following error when opening a source-file: “The file ‘/home/xyz/…’ could not be opened. Error while loading style :D efault” and the stacktrace prints the following lines:

    System.IO.IOException: Error while loading style :D efault —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors —> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus —> System.DllNotFoundException: /usr/local/lib/libgdiplus.so
    at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
    at System.Drawing.GDIPlus..cctor () [0x00000] in :0
    — End of inner exception stack trace —
    at System.Drawing.KnownColors..cctor () [0x00000] in :0
    — End of inner exception stack trace —
    at System.Drawing.ColorConverter.StaticConvertFromString (ITypeDescriptorContext context, System.String s, System.Globalization.CultureInfo culture) [0x00000] in :0
    at System.Drawing.ColorConverter.ConvertFrom (ITypeDescriptorContext context, System.Globalization.CultureInfo culture, System.Object value) [0x00000] in :0
    at System.ComponentModel.TypeConverter.ConvertFrom (System.Object o) [0x00000] in :0
    at System.ComponentModel.TypeConverter.ConvertFromString (System.String text) [0x00000] in :0
    at System.Drawing.ColorTranslator.FromHtml (System.String htmlColor) [0x00000] in :0
    at Mono.TextEditor.Highlighting.ColorScheme.GetColorFromString (System.String colorString) [0x00000] in :0
    at Mono.TextEditor.Highlighting.ColorScheme.SetChunkStyle (System.String name, System.String weight, System.String foreColor, System.String backColor) [0x00000] in :0
    at Mono.TextEditor.Highlighting.ColorScheme.ReadStyleTree (System.Xml.XmlReader reader, Mono.TextEditor.Highlighting.ColorScheme result, System.String curName, System.String curWeight, System.String curColor, System.String curBgColor) [0x00000] in :0
    at Mono.TextEditor.Highlighting.ColorScheme+c__DisplayClass5.b__4 () [0x00000] in :0
    at Mono.TextEditor.Highlighting.XmlReadHelper+c__DisplayClass1.b__0 (Mono.TextEditor.Highlighting.ReadCallbackData data) [0x00000] in :0
    at Mono.TextEditor.Highlighting.XmlReadHelper.ReadList (System.Xml.XmlReader reader, ICollection`1 endNodes, Mono.TextEditor.Highlighting.ReaderCallbackWithData callback) [0x00000] in :0
    at Mono.TextEditor.Highlighting.XmlReadHelper.ReadList (System.Xml.XmlReader reader, ICollection`1 endNodes, Mono.TextEditor.Highlighting.ReaderCallback callback) [0x00000] in :0
    at Mono.TextEditor.Highlighting.XmlReadHelper.ReadList (System.Xml.XmlReader reader, System.String endNode, Mono.TextEditor.Highlighting.ReaderCallback callback) [0x00000] in :0
    at Mono.TextEditor.Highlighting.ColorScheme.LoadFrom (System.Xml.XmlReader reader) [0x00000] in :0
    at Mono.TextEditor.Highlighting.SyntaxModeService.LoadStyle (System.String name) [0x00000] in :0
    — End of inner exception stack trace —
    at Mono.TextEditor.Highlighting.SyntaxModeService.LoadStyle (System.String name) [0x00000] in :0
    at Mono.TextEditor.Highlighting.SyntaxModeService.GetColorStyle (System.String name) [0x00000] in :0
    at Mono.TextEditor.TextEditorOptions.GetColorStyle () [0x00000] in :0
    at MonoDevelop.SourceEditor.StyledSourceEditorOptions.GetColorStyle () [0x00000] in :0
    at Mono.TextEditor.TextArea.OptionsChanged (System.Object sender, System.EventArgs args) [0x00000] in :0
    at Mono.TextEditor.TextArea.set_Options (ITextEditorOptions value) [0x00000] in :0
    at Mono.TextEditor.TextEditor.set_Options (ITextEditorOptions value) [0x00000] in :0
    at MonoDevelop.SourceEditor.ExtensibleTextEditor..ctor (MonoDevelop.SourceEditor.SourceEditorView view) [0x00000] in :0
    at MonoDevelop.SourceEditor.SourceEditorWidget..ctor (MonoDevelop.SourceEditor.SourceEditorView view) [0x00000] in :0
    at MonoDevelop.SourceEditor.SourceEditorView..ctor () [0x00000] in :0
    at MonoDevelop.SourceEditor.SourceEditorDisplayBinding.CreateContent (FilePath fileName, System.String mimeType, MonoDevelop.Projects.Project ownerProject) [0x00000] in :0
    at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (System.String fileName) [0x00000] in :0

    • Tim
      February 22, 2013 - 12:48 pm | Permalink

      Alright, fixed by installing libgdiplus…

      • alex
        February 22, 2013 - 2:19 pm | Permalink

        That was my recommendation, too :)

  • andrea
    February 22, 2013 - 9:47 am | Permalink

    On ubuntu I don’t have application global menu… :)

  • Leave a Reply

    Your email address will not be published. Required fields are marked *


    × 5 = ten

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>