Visual Studio For Windows On Mac

Develop apps and games for iOS, Android,
and web using .NET

Visual Studio automatically checks for updates of nuget packages added Projects but shows only in ‘Manage nuget Packages’ window. The default template of Xamarin Forms project will create ‘App’ class in the file named ‘App.cs’. Mac computers don’t support most Windows applications, including Visual Studio. There are similar compilers that run natively on Mac, like Xamarin Studio and Visual Studio Code. However, the easiest and most efficient method for using Visual Studio on a Mac is through use of a Parallels virtual. At this morning’s Connect(); 2016 keynote, Nat Friedman and James Montemagno introduced Visual Studio for Mac, the newest member of the Visual Studio family.Visual Studio for Mac is a developer environment optimized for building mobile and cloud apps with Xamarin and.NET. It is a one-stop shop for.NET development on the Mac, including.

Code in C#, F#, Razor, HTML5, CSS, JavaScript, TypeScript, XAML, and XML

With the power of Roslyn, Visual Studio for Mac brings IntelliSense to your fingertips. IntelliSense describes APIs as you type and uses auto-completion to increase the speed and accuracy of how you write code.

Quick Info tool tips let you inspect API definitions, squiggly lines in the editor highlight issues, in real time as you type.

Use the Visual Studio debugger to quickly find and fix bugs across languages.

The Visual Studio for Mac debugger lets you step inside your code by setting Breakpoints, Step Over statements, Step Into and Out of functions, and inspect the current state of the code stack through powerful visualizations.

As your project grows, chances are, you’ll find yourself restructuring and refactoring code that you or someone else wrote earlier. That’s a whole lot easier when Visual Studio for Mac takes care of the heavy lifting for you.

The Visual Studio for Mac editor supports powerful built-in refactoring options such as Extract Method and Rename, accessible via the Quick Actions menu.

Manage your code in Git or SVN repos hosted by any provider, including GitHub and Azure DevOps. Review diffs, stage files, and make commits from inside Visual Studio for Mac.

Enhance your code quality and create a solid code base with comprehensive testing tools. The integrated test runner supports major testing frameworks such as xUnit, NUnit, and MSTest, allowing you to efficiently run and debug unit tests and automated UI tests.
Mac

Choose the development environment that is right for you. With Visual Studio on both macOS and Windows, you can share your C# and F# projects seamlessly with your team using either OS.

Compare Visual Studio for Mac and PC
FEATURESVisual Studio 2019 for MacVisual Studio 2019
Web and cloud development using C#
ASP.NET Core and .NET Core
Publish to Azure
Azure Functions
Azure Connected Services
Docker container tools
Desktop development
WPF and Windows Forms
UWP
Mac Apps using Xamarin and C#
Console apps with C#
Desktop apps using C++
Mobile and gaming
Mobile development with .NET using Xamarin and C#
Game development using Unity and C#
Mobile and game development using C++
Other workloads and tools
Java
Python
SQL Server data tools
Node.js
Unit testing
Version control with Git

Create cross-platform apps targeting Android and iOS using Xamarin

Build, manage, and deploy cloud apps that scale to Azure

Create and debug cross platform games and 3D real time applications with Unity

Customers using Xamarin with Visual Studio for Mac

Launch a professional environment tailored to the Mac, free for most non-enterprise users

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?

Visual Studio For Mac

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 PhamTuyen Pham

Visual Studio For Mac Windows Forms

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.

Vivek VermaVivek Verma

Free Download Visual Studio For Windows 8

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