Is it possible to run a Windows Forms application (developed using Visual Studio on Windows) on macOS?
What would be needed? Is it free or would I have to purchase something?
Is it possible to run a Windows Forms application (developed using Visual Studio on Windows) on macOS?
What would be needed? Is it free or would I have to purchase something?
The .Net Core is cross platform though it doesn't include winform (maybe it will in the future) or Wpf (definitely won't be cross platform in future).
You can use Xamarin Studio and Mono to make a winform app for mac, though if you want to to use Visual Studio buy Xamarin business license for VS support or make a XNA or a web app. See my answer here .net core for linux and mac for more info.
Wine is capable of running some winforms-based Windows applications on Mac OSX. When it works as intended, all you have to do is install Wine on the Mac, and then it can run your exe. Of course this won't always work perfectly, and it won't have the polish of a native Mac app, but for simpler Winforms apps it should work.
Yes, it is possible. For example, you can use Mono.
You might be able to cross-compile using Mono. http://www.mono-project.com/docs/gui/winforms/
This is not possible. C# winform applications can only run on Windows.
I've used Xamarin and GTK#, as well as Xamarin for code-behind and XCode for forms design. They both work pretty decently with C# for code-behind stuff.
Just keep in mind that GTK# looks quite clunky and dated when you put it next to a native Mac application.
On the other hand, the object framework for XCode forms (yeah, I know I'm not using the "correct" terminology...) presents a bit of a learning curve, but isn't terribly hard, and Xamarin did a sweet job of integrating the object model into C#, so between the Apple documentation and what Xamarin provides, and er.. from StackOverflow itself, you should be able to produce some neat-looking apps.