0

I am new to using Xamarin and have always used Visual Studio, however I now require to develop a desktop application which will run on both Mac and Windows, OR at least a package which will let me package for both.

I have created a GTK 2.0 Project, connected to a MySQL database etc and all is fine, however I can only see options to create a .exe and no .dmg file for OS X but the debugger lets me run it on my Mac.

Does anyone have any ideas or pointers?

Mike Mertsock
  • 11,825
  • 7
  • 42
  • 75
Steve Church
  • 344
  • 1
  • 3
  • 12

2 Answers2

0

We use Xamarin.Mac to enable us to develop a Windows and Mac client using c#. We chose to re-build the core code in Xamarin Studio and use interfaces to abstract the OS dependent code. We share 90% of our code in the Xamarin.Mac/VS solutions.

Do let me know if I'm helping... if so I can provide more detail if need be.

penderi
  • 8,673
  • 5
  • 45
  • 62
0

Check the following link on how to create an .app bundle with Xamarin:

How to set Xamarin MonoMac project so its build outputs .app package instead of .exe?

An app bundle is basically a special kind of folder structure that contains all app data, including e.g. graphical resources, configuration files, localisations, etc...

A .dmg file is used for distribution and can be created using other tools like Apple's own Disk Utility, once you've created the app.

Community
  • 1
  • 1
Wolfgang Schreurs
  • 11,779
  • 7
  • 51
  • 92