您可以使用Xamarin开发Linux应用程序吗? [英] Can you develop Linux applications with Xamarin?

查看:77
本文介绍了您可以使用Xamarin开发Linux应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用具有相同代码库的Xamarin开发和构建Linux应用程序?

在使用Ubuntu几年之后,我现在的主要操作系统再次是Windows.但是我可以切换到Mac并非不可能.

After a few years with Ubuntu, my main OS right now is Windows again. But it's not impossible that I could switch to Mac.

现在,我对Qt有一些经验,而对Xamarin则没有经验.借助Qt,您可以在Windows,Linux和Mac上开发 ,并为Windows,Linux,Mac,iOS,Android,Windows Mobile等开发 .

Right now I have a bit of experience with Qt and no experience with Xamarin. With Qt you can develop on Windows, Linux, and Mac and for Windows, Linux, Mac, iOS, Android, Windows Mobile, ... They are pretty clear about that.

由于Xamarin现在是免费和开源的,而且我在Qt方面还没有太多经验,所以我正在考虑尝试使用Xamarin而不是Qt进行跨平台开发.

Since Xamarin is free and open source now and I still don't have much experience in Qt, I'm considering trying out Xamarin for cross platform development instead of Qt.

无法为Linux发行我的软件对我来说是个大难题.能够在Linux上进行开发很不错,但这是可选的.但是经过我所有的Google研究,我只能找到信息和人们寻求支持以在Linux上开发 而不是在Linux上开发 .

Not being able to release my software for Linux would be a deal breaker for me. Being able to develop on Linux would be nice, but is optional. But after all my Google research, I could only find information and people asking for support to develop on Linux and not for Linux.

据我所知,单单Mono就不应该是一个问题.但是据我所知Xamarin> Mono,但我并没有在Mono中得到所有东西,而在Xamarin中却可以得到.

As far as I know, this shouldn't be a problem with Mono alone. But as far as I know Xamarin > Mono and I don't get everything in Mono I could get in Xamarin.

我也不确定将来Mono会得到怎样的支持.对我来说,Xamarin对Microsoft而言比Mono本身更为重要.

I'm also not sure how well-supported Mono will be in the future. For me it looks like Xamarin is much more important for Microsoft than Mono itself.

由于Xamarin基于Mono,所以我不确定是否可能,但是Microsoft是否有可能在某个时候决定不以与Xamarin相同的方式支持具有.NET兼容性的Mono,甚至取消Mono.完全独立吗?

I'm not sure if it's even possible, since Xamarin is based on Mono, but is it possible that Microsoft will at some point decide not to support Mono with .NET compatibility in the same way as Xamarin, or even cancel Mono as standalone completely?

因此,我正在寻找一个我可以依靠的所有台式机和移动平台的单一框架,我想知道Xamarin和/或Mono和/或Xamarin + Mono是否可以在我使用之前替代Qt?更深入地探讨其中任何一种解决方案.

So I'm looking for one single framework for all desktop and mobile platforms I can rely on, and I want to know if Xamarin and/or Mono and and/or Xamarin + Mono could be an alternative to Qt before I go deeper into any of those solutions.

推荐答案

以防万一其他人遇到这个问题:情况已经改变.使用Xamarin.Forms 3.0,支持Gtk#(此刻为预览).因此,将启用对Linux GUI的完全支持.

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.

因此,Xamarin现在涵盖:

So, Xamarin now covers:

  • Android
  • iOS
  • UWP apps
  • WPF apps
  • Linux Gtk desktop applications
  • Mac OS
  • Watch OS
  • tv OS
  • Tizen

剩下的唯一希望是:作为Xamarin一部分的JS/HTML5 Web App目标平台:)

The only thing left to wish for: JS/HTML5 Web App target platform, as part of Xamarin :)

这篇关于您可以使用Xamarin开发Linux应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆