我们可以在Mac OS X上运行C#/WPF应用程序吗? [英] Can we run a C#/WPF application on Mac OS X?

查看:2865
本文介绍了我们可以在Mac OS X上运行C#/WPF应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我出售一个C#/WPF应用程序(目前以.net 3.0为目标),并且人们一直在问我Mac版本.

I sell a C#/WPF application (targeting .net 3.0 at the moment) and people keep asking me for a Mac version.

该应用程序是具有良好GUI的时间跟踪应用程序,时间跟踪应用程序中没有太多的业务逻辑,因此大多数应用程序都是GUI-仅重写GUI等同于重写整个应用程序

The application is a time tracking application with a good GUI, there isn't that much business logic in a time tracking application so most of the application is GUI - rewriting just the GUI is equivalent to rewriting the entire application

我没有资源来重写应用程序或维护两个不同的代码库,因此我需要一种在Mac上运行相同代码的方法(我知道我必须调试和修改代码,意思是我只能支持一个代码库,不能将项目拆分为不同的Mac和Windows项目-我只是没有时间从事两个项目.

I don't have the resources to rewrite the application or maintain two different code bases, so I need a way to run the same code on a Mac (I know I'll have to debug and modify the code, what I mean is I can support only one code base, I can't split the project into different Mac and Windows projects - I just don't have the time to work on two projects).

将应用程序移植到跨平台的UI库,其他编程语言或Silverlight都无关紧要-这将花费太多时间,并且我认为通过将这段时间投资于新功能将获得更多的销售.

Porting the application to a cross-platform UI library, to a different programing language or to Silverlight are all not relevant - it will take too much time and I think I'll get more sales by investing this time in new features.

有人知道可以在Mac上运行或移植C#/WPF的工具吗?

Does anyone know of a tool that can run or port C#/WPF to the Mac?

推荐答案

绝对不可能在Mac上运行成熟的WPF应用程序.我什至不确定在Parallels中是否可行.最好的办法是使用Silverlight,它以前被称为"WPF/E",并且可以在Macintosh上运行.

There's absolutely no way you can run full-fledged WPF app on Mac. I'm not even sure if this is possible in Parallels. The best thing you can do is to use Silverlight, which was previously named "WPF/E" and does run on Macintosh.

这篇关于我们可以在Mac OS X上运行C#/WPF应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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