Menu
CNET Download.com is your best guide to find free downloads of safe, trusted, and secure Mac software, utilities, and games.
-->Visual Studio for Mac provides a full-featured Integrated Development Environment (IDE) for developing .NET Core applications. This topic walks you through building a simple console application using Visual Studio for Mac and .NET Core.
Note
Your feedback is highly valued. There are two ways you can provide feedback to the development team on Visual Studio for Mac:
- In Visual Studio for Mac, select Help > Report a Problem from the menu or Report a Problem from the Welcome screen, which will open a window for filing a bug report. You can track your feedback in the Developer Community portal.
- To make a suggestion, select Help > Provide a Suggestion from the menu or Provide a Suggestion from the Welcome screen, which will take you to the Visual Studio for Mac Developer Community webpage.
Prerequisites
See the Prerequisites for .NET Core on Mac topic.
Check the .NET Core Support article to ensure you're using a supported version of .NET Core.
Get started
If you've already installed the prerequisites and Visual Studio for Mac, skip this section and proceed to Creating a project. Follow these steps to install the prerequisites and Visual Studio for Mac:
Download the Visual Studio for Mac installer. Run the installer. Read and accept the license agreement. During the install, select the option to install .NET Core. You're provided the opportunity to install Xamarin, a cross-platform mobile app development technology. Installing Xamarin and its related components is optional for .NET Core development. For a walk-through of the Visual Studio for Mac install process, see Visual Studio for Mac documentation. When the install is complete, start the Visual Studio for Mac IDE.
Creating a project
- Select New on the Start Window.
- In the New Project dialog, select App under the .NET Core node. Select the Console Application template followed by Next.
- If you have more than one version of .NET Core installed, select the target framework for your project.
- Type 'HelloWorld' for the Project Name. Select Create.
- Wait while the project's dependencies are restored. The project has a single C# file, Program.cs, containing a
Program
class with aMain
method. TheConsole.WriteLine
statement will output 'Hello World!' to the console when the app is run.
Run the application
Run the app in Debug mode using ⌘ ↵ (command + enter) or in Release mode using ⌥ ⌘ ↵ (option + command + enter).
Next step
The Building a complete .NET Core solution on macOS using Visual Studio for Mac topic shows you how to build a complete .NET Core solution that includes a reusable library and unit testing.
Develop .NET, ASP.NET, .NET Core, Xamarin
or Unity applications on Windows, Mac, Linux
or Unity applications on Windows, Mac, Linux
free 30-day trial
Incredible .NET IDE with the power of ReSharper! Rider is used across our entire dev team using Windows and macOS.
Derek Comartin
Director of Engineering, Full Circle TMS
Director of Engineering, Full Circle TMS
What is Rider?
JetBrains Rider is a cross-platform .NET IDE based on the IntelliJ platform and ReSharper.
Supports many .NET project types
Rider supports .NET Framework, the new cross-platform .NET Core, and Mono based projects. This lets you develop a wide range of applications including .NET desktop applications, services and libraries, Unity games, Xamarin apps, ASP.NET, and ASP.NET Core web applications.
Feature-rich and fast
Rider provides 2200+ live code inspections, hundreds of context actions and refactorings brought by ReSharper, and combines them with the IntelliJ platform's solid IDE features. Despite a heavy feature set, Rider is designed to be fast and responsive.
Cross-platform
As well as running and debugging multiple runtimes, Rider itself runs on multiple platforms: Windows, macOS, and Linux.
What's new in Rider
Xamarin support
Publish
.ipa
files to iOS devices and manage provisioning profiles for Xamarin iOS projects.UI enhancements
The UI of the editor and debugger tabs, and the code completion popup is now clearer and more consistent.
Streamlabs macbook download. The dashboard window is extracted straight from the website. Now’s your turn! Once you log in through SLOBS, you will be automatically logged in on your dashboard.
Excellent Unity support
keeps getting even better.
New debugger goodies
A new way to star key variables while debugging and the floating icons for the Run to and Jump to Statement actions right in the code editor.
Enhanced C# support
Thanks to ReSharper, Rider 2019.2 supports new language features.
Solution Explorer updates
Solution folders can now be renamed.
Windows Forms designer
both third-party and 32-bit controls are supported.
Code Vision comes to F#
It shows you inferred types for functions, values, and members, and VCS author for declarations, right in the code editor.
Rearrange code
File Layout patterns can be modified via the XAML View right in Rider.
Code coverage of Mono
applications and unit tests on Linux, macOS, and Windows.
Commit from the Local Changes
There is no longer any need to go through a separate Commit dialog.
‘ASP.NET code-behind files’ generator
When you add a new control to an .aspx file, the generator creates the corresponding .designer.cs file.
Features
Code analysis
Rider boasts 2,200+ live code inspections, with automated quick-fixes to resolve detected issues individually or in bulk. Solution-wide error analysis will monitor code issues and let you know if anything goes wrong, even in files that are not currently open.
Code editing
Rider's rich editor features different kinds of code completion and code templates, auto-inserting matching braces and import directives, quick info tooltips and gutter icons for inheritance navigation, context actions, and much more.
Refactorings
Most of ReSharper's 60+ refactorings are already available in Rider, and its 450+ context actions are all there. Rename, extract methods, interfaces and classes, move and copy types, use alternative syntax, and a lot more!
Unit test runner
Rider helps you run and debug unit tests based on NUnit, xUnit.net, or MSTest. You can explore tests, group them in different ways, break them down into individual sessions, see test output and navigate to source code from stack traces.
Debugger and more tools
Rider includes a debugger that works with .NET Framework, Mono and .NET Core applications, letting you step, watch, evaluate, and run to cursor. Other tools include a stack trace explorer, NuGet browser, and VCS and database support.
Databases and SQL
Work with SQL and databases without leaving Rider. Connect to databases, edit schemas and table data, run queries, and even analyze schemas with UML diagrams.
Navigation and search
Jump to any file, type, or member in your code base instantly, as well as quickly find settings and actions. Find usages of any symbol, or navigate from a symbol to the base and derived symbols, extension methods, or implementations.
Front-end technologies
Rider comes with JavaScript, TypeScript, HTML, CSS and Sass support built in. Take advantage of the refactorings, debugging, and unit testing capabilities included from WebStorm.
Extensibility
True to its roots, Rider supports a wide array of plugins developed for ReSharper and IntelliJ Platform. In addition to the bundled plugins (such as those for VCS, F#, and Unity support), plugins that support Markdown,
.gitignore
files, and Python scripts are available.Rider for Unity
Rider comes backed up with Unity support.
Using Rider to write C# makes me happy. I have never seen code refactoring tools that actually work - always without exception. It's amazing when you can rely on it.
Joachim Ante,
Unity CTO & Founder
Unity CTO & Founder
Customers
JetBrains Rider is the first tool I install after repaving my development machine.
Paint Net For Mac Downloads
I haven’t launched Visual Studio for months after I switched to JetBrains Rider.
Working with branches has never been so smooth since I started using Jetbrains’s Rider.
Dennis Doomen,
Continuous Improver at Aviva Solutions and author of Fluent Assertions
Continuous Improver at Aviva Solutions and author of Fluent Assertions
JetBrains Rider is my C# development tool of choice these days on both OS X and Windows. If you’re a longstanding ReSharper user, you’ll find it to be an almost seamless transition. I highly recommend the developer-friendly keystroke navigation and fine grained debugger support.
Jeremy Miller
In Rider, I just focus on working with my code, as it should be, instead of fighting my IDE. Rider gave me back the joy in writing .NET code.
Frans Bouma,
lead developer, LLBLGen Pro
lead developer, LLBLGen Pro