C # Applications for Windows Form on Mac

Hello good afternoon

I just would like to ask if it is possible to run applications with Windows C # windows on Mac, developed using Microsoft Visual Studio in the Microsoft operating system ?: D what is needed? is it free or should i buy it?

Thank you.: D

+7
c # visual-studio
source share
6 answers

Yes it is possible. For example, you can use Mono.

+6
source share

.Net Core is a cross-platform, although it does not include winform (maybe it will be in the future) or Wpf (definitely, in the future it will not be a cross-platform).

You can use Xamarin Studio and Mono to create a winform application for Mac, although if you want to use Visual Studio to purchase a Xamarin license to support VS or create an XNA or web application. See my answer here .net core for linux and mac for more information.

+4
source share

I used Xamarin and GTK #, as well as Xamarin for code and XCode for formatting. They both pretty well work with C # to create code.

Just keep in mind that GTK # looks pretty awkward and outdated when you put it next to your own Mac app.

On the other hand, the structure of objects for Xcode forms (yes, I know that I do not use the β€œcorrect” terminology ...) is a bit of a learning curve, but it’s not very difficult, and Xamarin did a nice job integrating the object model into C #, therefore, between the Apple documentation and what Xamarin provides, and er .. from StackOverflow itself, you should be able to create some neat apps.

+1
source share

Wine is capable of running some WinForms-based applications on Mac OSX. When it works as intended, all you have to do is install Wine on Mac and then it can run your exe. Of course, this will not always work perfectly, and it will not benefit from the native Mac application, but for simpler Winforms applications it should work.

+1
source share

You may be able to cross compile with Mono. http://www.mono-project.com/docs/gui/winforms/

0
source share

It's impossible. C # winform applications can only work on Windows.

-2
source share

All Articles