Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Xamarin.Forms on Linux?

Ramin.NetRamin.Net GBMember ✭✭

Given there is no Xamarin Studio for Linux, is there an implementation of the Xamarin.Forms for Desktop Linux such as Ubuntu or other distros?

Otherwise what would the community suggest in terms of developing cross-platform GUI Apps (mainly for Desktop Windows, Mac and Linux)?

What would be a stable and continually well supported option? and if there isn't any such options then what is the best on each of the platforms so that I can develop the GUIs separately per platform?

Thanks

Best Answer

Answers

  • Menno.8360Menno.8360 USMember

    Then how can you call this Cross-platform =///

  • JimBennettJimBennett GBXamarin Team, Insider, University, Developer Group Leader ✭✭✭✭
  • Ramin.NetRamin.Net GBMember ✭✭
    So is this a work just starting now or has been done already and being uploaded soon?
  • Xamarin_SrikanthXamarin_Srikanth Member ✭✭

    Mono error on Ubuntu: System.DllNotFoundException: gtksharpglue-2

    g$ sudo mono BasicBoxView.GTK.exe
    Unhandled Exception:
    System.TypeInitializationException: The type initializer for 'Gtk.Container' threw an exception. ---> System.DllNotFoundException: gtksharpglue-2
    at (wrapper managed-to-native) Gtk.Container.gtksharp_gtk_container_get_focus_child_offset()
    at Gtk.Container..cctor () [0x00000] in <94f79862491c46b0bf711bc40f7608a5>:0
    --- End of inner exception stack trace ---
    at Gtk.Bin..ctor (System.IntPtr raw) [0x00000] in <94f79862491c46b0bf711bc40f7608a5>:0
    at Gtk.Window..ctor (Gtk.WindowType type) [0x00000] in <94f79862491c46b0bf711bc40f7608a5>:0
    at Xamarin.Forms.Platform.GTK.FormsWindow..ctor () [0x00000] in <4bad12fcff0f409181b1aa48e034f579>:0
    at BasicBoxView.GTK.Program.Main (System.String[] args) [0x00014] in <12b4a789a2e94320a9d8929a6bfc16da>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Gtk.Container' threw an exception. ---> System.DllNotFoundException: gtksharpglue-2
    at (wrapper managed-to-native) Gtk.Container.gtksharp_gtk_container_get_focus_child_offset()
    at Gtk.Container..cctor () [0x00000] in <94f79862491c46b0bf711bc40f7608a5>:0
    --- End of inner exception stack trace ---
    at Gtk.Bin..ctor (System.IntPtr raw) [0x00000] in <94f79862491c46b0bf711bc40f7608a5>:0
    at Gtk.Window..ctor (Gtk.WindowType type) [0x00000] in <94f79862491c46b0bf711bc40f7608a5>:0
    at Xamarin.Forms.Platform.GTK.FormsWindow..ctor () [0x00000] in <4bad12fcff0f409181b1aa48e034f579>:0
    at BasicBoxView.GTK.Program.Main (System.String[] args) [0x00014] in <12b4a789a2e94320a9d8929a6bfc16da>:0

  • Xamarin_SrikanthXamarin_Srikanth Member ✭✭

    Mono error on Ubuntu: System.DllNotFoundException: gtksharpglue-2

  • Hello @Xamarin_Srikanth,
    did you find the solution to this issue? I've the same on Rasbian.

    Thanks,
    Happy Xmas

Sign In or Register to comment.