[Mono-osx] Getting Started Help

Geoff Norton gnorton at novell.com
Mon May 26 18:22:08 EDT 2008


On Fri, 2008-05-23 at 13:58 -0700, james_wheeler_pe wrote:
> Have never really used a Mac before but got one for free so figured I would
> play around with Mono to see how easily I could get .net programs to run.
> 
> I have installed the most recent release of mono and I built the following
> very simply console application directly on the Mac using the MSC compiler.
> 
> using System;
> using System.Text;
> 
> namespace MacMonoTest
> {
>         class Program
>         {
> 
>                 static void Main(string[] args)
>                 {
>                         Console.WriteLine("This is totally cool");
>                 }
> 
>         }
> 
> }
> 
> 
> The code above compiled using MSC works just fine.
> 
> The same code compiled and built using VS 2008 targeting .net 2.0 throws all
> sorts of exceptions when I try to run it on the Mac.  BTW, not sure this
> matters but I have a new Intel based MacBook.
> 

what exceptions?  Where did you install mono from.  You need to provide
some more details.

> Should I be able to build apps using Visual Studio on my XP machine and then
> have them run on my Mac using mono so long as I don't do any Windows
> specific things in the app?
> 

Yes this works fine.

-g
 



More information about the Mono-osx mailing list