Visual Studio For Windows On Mac

With support for ASP.NET Core in Visual Studio for Mac, you are empowered to create beautiful, modern web applications. Craft the front-end with the same web editor experience you know and love from Visual Studio and Windows and publish to the cloud directly from the IDE. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.

Active3 years, 6 months ago

Hello good day everyone,

I would just like to ask if it is possible to run C# windows form applications in mac, developed using microsoft visual studio in a microsoft operating system? :D what would be needed? is it free or do i have to purchase it?

thank you. :D

dlancer13dlancer13

closed as too broad by JK., MethodMan, Rob, Mi-Creativity, sujith karivelilFeb 23 '16 at 4:03

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

6 Answers

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

Tuyen PhamWindowsTuyen Pham
4,87110 gold badges44 silver badges85 bronze badges

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.

Community
Jeremy ThompsonJeremy Thompson
42.2k13 gold badges116 silver badges217 bronze badges

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.

code4lifecode4life
13.4k7 gold badges43 silver badges79 bronze badges

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.

jgfооtjgfооt

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

CharlieCharlie

This is not possible. C# winform applications can only run on Windows.

Visual Studio Software For Mac

Vivek VermaVivek Verma

How To Install Windows On Mac

Not the answer you're looking for? Browse other questions tagged c#visual-studio or ask your own question.