Can you develop Linux applications with Xamarin?
Just in case someone else comes accross this q/a: the situation has changed. With Xamarin.Forms 3.0, Gtk# is supported (as preview, at this moment). Therefore, full Linux GUI support is enabled.
So, Xamarin now covers:
- Android
- iOS
- UWP apps
- WPF apps
- Linux Gtk desktop applications
- Mac OS
- Watch OS
- tv OS
- Tizen
The only thing left to wish for: JS/HTML5 Web App target platform, as part of Xamarin :)
Xamarin forms development on LinuxMint
Is there any way that we can build/debug and run xamarin forms app on linuxMint?
Sorry , there is no way to build /debug a xamarin froms app on Linux OS from officail supports.
However , about Xamarin.Android on Linux , you can have a look at that .Although that not tested on linuxMint , also can have a try whther it also works on linuxMint .
Alternatively is there any way that we can run visual studio 2019 on Linux apart from using vine?
(Hoping that Microsoft will release Visual Studio for Linux soon)
But Microsoft hasn’t made it’s Visual Studio Open Source. So it isn’t Available for Linux Systems.
You can only Install Visual Studio Code for Linux Systems , which is an amazing Code editor for Programmers.
More reference: Visual Studio Code on Linux
Monodevelop + Linux and Android Xamarin developement
Not yet, Xamarin Android will be available in Linux , but ETA is still unclear.
https://github.com/xamarin/xamarin-android
Possible to build an application for linux?
To build a server application with .NET for Linux you don't need Xamarin. You can use Visual Studio, create a console application and run it with Mono on Linux.
You can use most of what .NET offers, more information on application portability on Mono's website.
You can use NuGet packages as long as they are managed code, or there is a Linux native version. Windows native code will not work directly on Linux. Some native libraries, like SQLite, are available with Mono and will work without issues.
You can build the application with Visual Studio and then deploy the binaries on Linux when needed, or you can compile the whole thing with Mono. The latter might show the hidden errors if you use some parts of .NET that Mono doesn't provide, but in regular development those won't come up.
Is it possible to compile Xamarin for Android from Linux CLI?
The short answer : Yes, but....
Linux not a currently supported environment by the distributed pre-packaged version of Xamarin.Android
from Microsoft/Xamarin, but using the open-sourced code, you can build Xamarin.Android
on Linux and then use xabuild
on your Xamarin.Android
projects.
Note: You are on your own in terms of setup, environment, bugs, etc... (but the open source code is being built on an Ubuntu build server, see the Github repo for details)
Github repo: https://github.com/xamarin/xamarin-android
Ref: https://bugzilla.xamarin.com/show_bug.cgi?id=142
New Ref: https://github.com/xamarin/xamarin-android/blob/master/Documentation/workflow/UsingYourBuild.md
Old Ref: https://github.com/xamarin/xamarin-android#linux-build-notes
Can I create an Android app using Xamarin only
Yes, Xamarin can be used to develop Android apps from scratch. Xamarin has two main libraries that help with this.
Xamarin.Android will give you access to all the Android APIs directly from c#. Note that you still need to know the basic Android concepts like what is an Activity and an Intent.
The other library is Xamarin.Forms. It is a cross-platform library that will give you a basic set of UI controls and widgets that you declare usong an xml syntax, and program with C#. This library has a few limitations, but you can also use the features of Xamarin.Android alongside it to get at the missing features.
Some advice: if possible, develop and debug directly on an Android tablet. Android emulators are not that good and hard to configure. Hope this helps.
Related Topics
Design - Where Should Objects Be Registered When Using Windsor
Assigning Out/Ref Parameters in Moq
Code for Decoding/Encoding a Modified Base64 Url (In ASP.NET Framework)
Effective Way to Find Any File's Encoding
How to Load Dll 'Sqlite.Interop.Dll'
Fixed Size Queue Which Automatically Dequeues Old Values Upon New Enques
How to Configure Socket Connect Timeout
What Does Initializecomponent() Do, and How Does It Work in Wpf
Using Linq to Group a List of Objects into a New Grouped List of List of Objects
How to Change the Timeout on a .Net Webclient Object
How to Serialize a String as Cdata Using Xmlserializer
Specifying a Custom Datetime Format When Serializing with JSON.Net
Split String Containing Command-Line Parameters into String[] in C#
How to Use Nuget Packages in My Azure Functions
Creating a Generic<T> Type Instance with a Variable Containing the Type
Entity Framework Stored Procedure Table Value Parameter
Authenticate and Request a User's Timeline with Twitter API 1.1 Oauth