在 Mac 上运行 Silverlight 浏览器外应用程序需要什么? [英] What is needed to run Silverlight out-of-browser application on Mac?

查看:28
本文介绍了在 Mac 上运行 Silverlight 浏览器外应用程序需要什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为标题很清楚.我想为 Windows 开发 .Net GUI 应用程序,它也可以在 Mac 上运行而不需要太多额外的努力.我想 WPF 在这里不是正确的选择.无论如何,我该怎么做才能使我的 Silverlight 浏览器外应用程序在 Mac 上运行?只是在那台机器上安装 Silverlight?

The title is all-explaining I think. I want to develop .Net GUI application for Windows that will also run on Mac with no much extra effort. I guess WPF is not right choice here. Anyway, what do I do to make my Silverlight out-of-browser application to run on Mac ? Just install Silverlight on that machine ?

推荐答案

Silverlight 的 Out of Browser 模型在 Mac 上运行良好,并且自推出以来一直有效.只需开发应用程序并在 Windows 上进行测试,它基本上可以保证在 Mac 上的行为相同,除非您依赖于仅限 Windows 的功能(例如 Silverlight 4 可信应用程序中的 COM 互操作).

Silverlight's Out of Browser model works great on Mac, and has since its inception. Just develop the app and test it on Windows, it's basically guaranteed to act identically on Mac, unless you rely on a Windows-only feature (such as COM interop in Silverlight 4 Trusted Applications).

为了进一步澄清我的答案,在 Mac 上运行 OOB 应用程序只需要安装 Silverlight Runtime.因此,如果用户能够在浏览器中运行您的应用程序来执行安装序列,那么他们将能够安装应用程序 OOB 并使用它.

To further clarify my answer, nothing beyond the Silverlight Runtime install is needed to run OOB apps on a Mac. So if the user is able to run you app in-browser to do the install sequence, then they will be able to install the app OOB and use it.

当然,这仅适用于 Silverlight 3+,因为那时该功能已发布.因此,如果最终用户安装了 Silverlight 1 或 2,他们将无法安装您的应用程序,但他们可以升级到最新的运行时以便能够这样做(除非他们使用的是 PPC Mac,因为那样)只支持 Silverlight 1.但是现在大多数 Mac 都是 Intel 的,所以这真的不值得一提.

This works with Silverlight 3+ only, of course, as that's when the feature was released. SO if the end-user has Silverlight 1 or 2 installed, they won't be able to install your app, but they could upgrade to the latest runtime to be able to do so (unless they're on a PPC Mac, as that only supports Silverlight 1. But most Macs these days are Intel anyway, so that's not really worth mentioning).

这篇关于在 Mac 上运行 Silverlight 浏览器外应用程序需要什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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