[Mono-osx] Ported Win App to Mac, now need to build Mac .pkg

jds at theatrewireless.com jds at theatrewireless.com
Fri Jan 9 14:37:50 UTC 2015


The one minute delay is noted on this documentation page:
http://www.mono-project.com/docs/getting-started/mono-basics/

At the bottom of the section titled Winforms Hello World:
"NOTE: on Mac OS X you’ll have to wait around a minute the very first 
time you run this command."

This is in reference to running a new mono program the first time on a 
Mac.  That's the delay.  It only happens once.  But, much like opening 
night of a Broadway show, that's the one time when all eyes are on the 
details.  During that one minute (a long time!) the user wonders, for 
instance, if the hard drive is being encrypted with ransomware.  I've 
had one user turn her Mac off after a few seconds, out of fear.

Jim





------ Original Message ------
From: "Edward Ned Harvey (mono)" <edward.harvey.mono at clevertrove.com>
To: "mail at theatrewireless.com" <mail at theatrewireless.com>; 
"mono-osx at lists.ximian.com" <mono-osx at lists.ximian.com>
Sent: 1/9/2015 6:43:34 AM
Subject: RE: Re[2]: [Mono-osx] Ported Win App to Mac, now need to build 
Mac .pkg

>>  From: jds at theatrewireless.com [mailto:jds at theatrewireless.com]
>>
>>  I have successfully create a .app file, so that works. What I was
>>  hoping to avoid was hassling our customers to separately download and
>>  install Mono.
>
>If you distribute a java app, openjdk is available by default on osx 
>and linux, but windows users have to install Oracle java (which sux, 
>mostly because of parasite software in the installer.) If you 
>distribute a mono app, .Net is available by default on windows, but mac 
>& linux users have to install mono. Which is not too bad - no parasite 
>software, no annoying updater with broken controls.
>
>If you pay for Xamarin.Mac, you get a license to distribute the mono 
>runtime with your application - but that *might* only be applicable to 
>a minimum bundle of stuff bundled by their system and distributed via 
>the AppStore. I'm not sure if there's a way to bundle the whole mono 
>installation with your app installer. (You'd have to check with Xamarin 
>to find out.)
>
>If users launch a mono .app for the first time on a mac without mono 
>installed, a mono auto-downloader appears, pretty straightforward. Just 
>like launching a .Net application for the first time on a windows 
>system that doesn't have the specified version of .Net.
>
>I have not experienced a minute long delay when launching a mono app 
>for the first time. The only thing I can think of like that is - if 
>your application generates a large (4096) RSA key, the mono RSA key 
>generator is slow and might take that long. If this isn't what's 
>happening to you, I would suggest you try, for example, sticking a 
>WriteLine and Flush as the very first thing in your application, so you 
>can confirm if the delay is happening before or after your app starts - 
>and obviously - if it's in your app then figure out what specific thing 
>is slow.



More information about the Mono-osx mailing list