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

查看:36
本文介绍了您可以使用 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 研究后,我只能找到信息和寻求支持以开发 on 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 似乎比 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 的,但微软是否可能会在某个时候决定不支持具有 .NET 兼容性的 Mono,就像 Xamarin 一样,甚至取消 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:

唯一希望得到的东西:JS/HTML5 Web App 目标平台,作为 Xamarin 的一部分 :)

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

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

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