Xamarin Studio for Linux

AviatorAviator USMember

I know it exists, please let us have it.

Thanks

Posts

  • eduardocamposeduardocampos CRMember ✭✭

    I wonder why they are not providing any ETA, not even on the release notes of future versions is mentioned.

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    For linux, you use monodevelop: http://www.monodevelop.com/download/

  • TobiasSchulz.9796TobiasSchulz.9796 DEMember ✭✭

    Xamarin Studio IS Monodevelop, with a different logo and some extensions.

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    Yes, but there isn't currently a Xamarin branded and extended version for linux.

  • eduardocamposeduardocampos CRMember ✭✭
    edited May 2016

    @TobiasSchulz.9796 said:
    Xamarin Studio IS Monodevelop, with a different logo and some extensions.

    @DaveHunt said:
    For linux, you use monodevelop: http://www.monodevelop.com/download/

    Not the same, because xamarin studio has all the development tools for android (like xamarin.forms, etc), and monodevelop doesnt, and now than those tools were opensourced they are supposed to arrive to the core of monodevelop (and that means they will work on linux). Source: https://www.reddit.com/r/programmerchat/comments/4dxpcp/i_am_miguel_de_icaza_i_started_xamarin_mono_gnome/d1vdfwz

  • DaveHuntDaveHunt USMember ✭✭✭✭✭

    Yes. Eventually they will release the linux tools. They've only just started on the whole "being part of Microsoft and making their open sourced stuff buildable by non-Xamarin people" thing. I would suggest a little patience. These things don't happen overnight.

  • TobiasSchulz.9796TobiasSchulz.9796 DEMember ✭✭
    edited May 2016

    Actually, you can build it from source right now.

    https://github.com/tobiasschulz/xamarin-android/blob/linux/Makefile.linux

    Currently, some things need to be patched and some files need to be copied to different locations, because their build scripts aren't quite ready for linux yet. But it works perfectly for me.

    Jon Pryor recently wrote on the mailing list:

    You should be able to hack it to make it work; PR’s welcome, or wait until one of us gets around to it. As a vague guess for a starting point, what you’d need to do is:

    1. Fully build external/Java.Interop. The default xamarin-android build only includes pieces of it.
    2. Copy external/Java.Interop/bin/$(Configuration) into bin/$(Configuration)/lib/mandroid
    3. Create bin/$(Configuration)/bin/generator, as a shell-script to invoke bin/$(Configuration)/lib/mandroid/generator.exe

    Turns out that was almost everything. The modified makefile does exactly that, plus some additional things:

    • The java include directory path needs to be fixed (at least on debian it could never work with the default one)
    • Ionic.Zip.dll needs to be replaced with a patched variant. The one used by Xamarin has a really long-known bug: it forces \ as the path separator which won't work. I wonder how it does on OS X. Maybe they use a different version there too. Sadly this ZIP library didn't have any official releases for over 4 years, so there are only a lot of inofficial variants on Nuget. Maybe Xamarin should provide their own.

    • and it includes a build task for installing the build requirements on debian and debian derivatives, and some additional build tasks for common git submodule stuff.

  • GeorgeCookGeorgeCook PEUniversity ✭✭✭

    @MigueldeIcaza I know we can build from source; but it sounds like you guys have distros you use internally.. Are you guys gonna share them as per your comments here :

    https://www.reddit.com/r/programmerchat/comments/4dxpcp/i_am_miguel_de_icaza_i_started_xamarin_mono_gnome/d1vdfwz

    you did say

    I will be happy to release the Linux builds

    and not

    you guys work out how to build it

    afterall

    pretty please :)

  • AravSinghalAravSinghal INMember
    edited June 2016

    @TobiasSchulz.9796 said:
    Actually, you can build it from source right now.

    Thank you, this helps. I've been trying to build Xamarin.Android on Linux, but haven't been successful yet. Your makefile looks promising. Do you have any idea how to debug a Xamarin.Android application in Linux? Is there a debugging tool as part of the repository?

  • directhexdirecthex GBXamarin Team Xamurai

    Releasing ISV apps for Linux is hard (i.e. not just shipping source - but shipping a fully prepped package-or-similar that just works). MonoDevelop is a good example - somewhere between 5.10 and 6.1, building .rpm and .deb packages became hellish due to dependencies on system libraries which differ between every distribution (causing a support and building nightmare).

    Internally, I've been working on a new mechanism for releasing up-to-date MonoDevelop builds. See http://www.monodevelop.com/download/linux/ and provide feedback, if you want to see those get better. https://bugzilla.xamarin.com/buglist.cgi?component=Linux Packaging&list_id=238688&product=Xamarin Studio&resolution=--- is the right place to file any bugs you encounter there.

    And there's also work on how to make easy to install .debs of Xamarin.Android (so xabuild myandroidapp.csproj will work), but that's not ready to ship yet. There's a pull request on the XA repo you can keep an eye on if you're curious.

    As for the full Xamarin Studio experience, such decisions are made 2 or 3 levels above my pay grade, but there's no harm in being noisy about it if this is something you need - such noise is helpful internally in gauging how to prioritise allocation of engineering resources.

Sign In or Register to comment.