Invoking Mono on OSX...dead easy question

View: New views
6 Messages — Rating Filter:   Alert me  

Invoking Mono on OSX...dead easy question

by LKeene :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks, very simple question here from a Mac illiterate:

I'm running my WinForms app on OSX by going to the terminal window and typing "mono MyApp.exe arguments" at the command line. We currently have v2.2 of Mono installed. I'd like to try the 2.6 preview and have requested the IT guy to install it. I'm assuming the two versions can reside on the same machine without troubles. My question is, how do I specify the usage of v2.6 or v2.2 when running my app from the terminal? Thanks in advance.

-L

Re: Invoking Mono on OSX...dead easy question

by Geoff Norton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

   You can invoke /Library/Frameworks/Mono.framework/Versions/2.2/bin/
mono to invoke v2.2 manually

-g

On 1-Oct-09, at 2:07 PM, LKeene wrote:

>
> Hi folks, very simple question here from a Mac illiterate:
>
> I'm running my WinForms app on OSX by going to the terminal window and
> typing "mono MyApp.exe arguments" at the command line. We currently  
> have
> v2.2 of Mono installed. I'd like to try the 2.6 preview and have  
> requested
> the IT guy to install it. I'm assuming the two versions can reside  
> on the
> same machine without troubles. My question is, how do I specify the  
> usage of
> v2.6 or v2.2 when running my app from the terminal? Thanks in advance.
>
> -L
> --
> View this message in context: http://www.nabble.com/Invoking-Mono-on-OSX...dead-easy-question-tp25703891p25703891.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx@...
> http://lists.ximian.com/mailman/listinfo/mono-osx

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: Invoking Mono on OSX...dead easy question

by LKeene :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Geoff. If I just invoke it the way I've been doing it (i.e "mono MyApp.exe") will it use by default the latest version (in this case 2.6)?

-L


Geoff Norton-2 wrote:
Hello,

   You can invoke /Library/Frameworks/Mono.framework/Versions/2.2/bin/
mono to invoke v2.2 manually

-g

On 1-Oct-09, at 2:07 PM, LKeene wrote:

>
> Hi folks, very simple question here from a Mac illiterate:
>
> I'm running my WinForms app on OSX by going to the terminal window and
> typing "mono MyApp.exe arguments" at the command line. We currently  
> have
> v2.2 of Mono installed. I'd like to try the 2.6 preview and have  
> requested
> the IT guy to install it. I'm assuming the two versions can reside  
> on the
> same machine without troubles. My question is, how do I specify the  
> usage of
> v2.6 or v2.2 when running my app from the terminal? Thanks in advance.
>
> -L
> --
> View this message in context: http://www.nabble.com/Invoking-Mono-on-OSX...dead-easy-question-tp25703891p25703891.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx

_______________________________________________
Mono-osx mailing list
Mono-osx@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: Invoking Mono on OSX...dead easy question

by Geoff Norton-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It will by default use the most recently installed version

-g

On 1-Oct-09, at 2:41 PM, LKeene wrote:

>
> Thanks Geoff. If I just invoke it the way I've been doing it (i.e  
> "mono
> MyApp.exe") will it use by default the latest version (in this case  
> 2.6)?
>
> -L
>
>
>
> Geoff Norton-2 wrote:
>>
>> Hello,
>>
>>   You can invoke /Library/Frameworks/Mono.framework/Versions/2.2/bin/
>> mono to invoke v2.2 manually
>>
>> -g
>>
>> On 1-Oct-09, at 2:07 PM, LKeene wrote:
>>
>>>
>>> Hi folks, very simple question here from a Mac illiterate:
>>>
>>> I'm running my WinForms app on OSX by going to the terminal window  
>>> and
>>> typing "mono MyApp.exe arguments" at the command line. We currently
>>> have
>>> v2.2 of Mono installed. I'd like to try the 2.6 preview and have
>>> requested
>>> the IT guy to install it. I'm assuming the two versions can reside
>>> on the
>>> same machine without troubles. My question is, how do I specify the
>>> usage of
>>> v2.6 or v2.2 when running my app from the terminal? Thanks in  
>>> advance.
>>>
>>> -L
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Invoking-Mono-on-OSX...dead-easy-question-tp25703891p25703891.html
>>> Sent from the Mono - OSX mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Mono-osx mailing list
>>> Mono-osx@...
>>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx@...
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Invoking-Mono-on-OSX...dead-easy-question-tp25703891p25704410.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx@...
> http://lists.ximian.com/mailman/listinfo/mono-osx

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: Invoking Mono on OSX...dead easy question

by Kenny Clement :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

You can type
mono -V
To find out which version is the default

- Kenny

On 01 Oct 2009, at 20:41, LKeene <lionel.keene@...> wrote:

>
> Thanks Geoff. If I just invoke it the way I've been doing it (i.e  
> "mono
> MyApp.exe") will it use by default the latest version (in this case  
> 2.6)?
>
> -L
>
>
>
> Geoff Norton-2 wrote:
>>
>> Hello,
>>
>>   You can invoke /Library/Frameworks/Mono.framework/Versions/2.2/bin/
>> mono to invoke v2.2 manually
>>
>> -g
>>
>> On 1-Oct-09, at 2:07 PM, LKeene wrote:
>>
>>>
>>> Hi folks, very simple question here from a Mac illiterate:
>>>
>>> I'm running my WinForms app on OSX by going to the terminal window  
>>> and
>>> typing "mono MyApp.exe arguments" at the command line. We currently
>>> have
>>> v2.2 of Mono installed. I'd like to try the 2.6 preview and have
>>> requested
>>> the IT guy to install it. I'm assuming the two versions can reside
>>> on the
>>> same machine without troubles. My question is, how do I specify the
>>> usage of
>>> v2.6 or v2.2 when running my app from the terminal? Thanks in  
>>> advance.
>>>
>>> -L
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Invoking-Mono-on-OSX...dead-easy-question-tp25703891p25703891.html
>>> Sent from the Mono - OSX mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Mono-osx mailing list
>>> Mono-osx@...
>>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx@...
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Invoking-Mono-on-OSX...dead-easy-question-tp25703891p25704410.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx@...
> http://lists.ximian.com/mailman/listinfo/mono-osx
_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx

Re: Invoking Mono on OSX...dead easy question

by Alexander Shulgin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kenny Clement wrote:
> Hi,
>
> You can type
> mono -V
> To find out which version is the default

Also, the current version is chosen by symbolic link `Current' in
/Library/Frameworks/Mono.framework/Versions.

Use ls -l command in that dir and you'll see something like this:

2.2
2.6
Current -> 2.6

By changing `Current' link to 2.2 you can switch to that version.

--
Alex

_______________________________________________
Mono-osx mailing list
Mono-osx@...
http://lists.ximian.com/mailman/listinfo/mono-osx