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 ?
Microsoft Silverlight is a free web-browser plug-in that enables interactive media experiences, rich business applications and immersive mobile apps. Windows? Check. Mac?
Enable Silverlight in SafariClick on "Safari" in the menu bar and go to "Preferences". Click on the "Security" tab. Locate Internet Plug-ins and click on "Manage Website Settings" button to the right. Click on the Silverlight Plug-in on the Left.
You must use a browser that supports Silverlight content to access a Silverlight page. To work around this issue on versions 42 to 44 of Chrome, follow these steps: On the address bar in Chrome, type chrome://flags/#enable-npapi . In the Enable NPAPI Mac, Windows box, click Enable.
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).
Edit: 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.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With