Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a .net program written for windows work on osx?

I recently wrote a small app which will grab contacts from microsoft Outlook and then create a csv and email to the head office.

The app works a treat but the only issue we have is some of our sales team use mac books with the mac version of office.

Is there a way in which the .net app which has been written in c# can work on the osx machines or is it a case of looking into writing it in a different language and seeing if there is a way of plugging into outlook.

like image 945
Vade Avatar asked Aug 22 '11 10:08

Vade


1 Answers

Your C# program can work in OSX if Mono (.NET for Unix/Linux) is installed on it.

However, I don't think Office assemblies (the ones you referenced in your project) are going to work on OSX because those are wrapper .NET assemblies for Office COM native objects which are Windows OS dependent.

like image 79
Carlos Quintanilla Avatar answered Sep 23 '22 05:09

Carlos Quintanilla