WPF的OS兼容性

突然想到一个问题,WPF程序是否可以在Linux或者其他的OS下运行?

 

于是,Google了一番,答案是:WPF不行(呵呵,理由很明显,WPF需要DirectX的支持,而其他的OS基本都没有),但是轻量级的WPF-Silverlight可以在Linux或者MacOS上运行(mono)。

 

mono:"Silverlight implement a subset of the WPF APIs and is available on Windows, MacOS X and through our own open source effort Moonlight it is available on Linux and other Unix systems."

Link:

http://stackoverflow.com/questions/421764/is-wpf-on-linux-already-possible

http://social.msdn.microsoft.com/Forums/en/wpf/thread/0a4c924d-ef24-45a9-a552-6d58e5578e3a

 

 那么,WPF是否可以在Linux上运行(理论上)?未来是否会有人做这样的事?

Link:

http://www.mono-project.com/WPF

Mono项目组的回答是:"At this point, no group in the Mono project has plans to implement Windows Presentation Foundation APIs as part of the project."

那么是否可行呢?从项目组的另一句话可见端倪:We do not have any plans because the project is too large and there has not been any serious interest from the community to make this effort move forward.

项目组的说法是too large而不是impossible,呵呵,所以还是有可行性的。

转载于:https://www.cnblogs.com/CHYGO/articles/1913308.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值