Sep 05, 2019 Visual Studio Torrent is combined development software. It operates on Microsoft Windows. It helps you to create computer applications, websites and web applications, etc. The program helps you to arrange the bookmarks in code.
-->Visual Studio for Mac is a .NET integrated development environment on the Mac that can be used to edit, debug, and build code and then publish an app. In addition to expected features, such as a standard editor and debugger, Visual Studio for Mac includes compilers, code completion tools, graphical designers, and source control to ease the software development process.
Visual Studio for Mac supports many of the same file types as its Windows counterpart, such as
.csproj
, .fsproj
, or .sln
files, and supports features such as EditorConfig, meaning that you can use the IDE that works best for you.Creating, opening, and developing an app will be a familiar experience for anyone who has previously used Visual Studio on Windows. In addition, Visual Studio for Mac employs many of the powerful tools that make its Windows counterpart such a powerful IDE. The Roslyn Compiler Platform is used for refactoring and IntelliSense. Its project system and build engine use MSBuild, and its source editor uses the same foundation as Visual Studio on Windows. It uses the same debugger engines for Xamarin and .NET Core apps, and the same designers for Xamarin.iOS and Xamarin.Android.What can I do in Visual Studio for Mac
Visual Studio for Mac supports the following types of development:
- ASP.NET Core web applications with C#, F#, and support for Razor pages, JavaScript, and TypeScript
- .NET Core console applications with C# or F#
- Cross-platform Unity games and applications with C#
- Android, iOS, tvOS, and watchOS applications in Xamarin with C# or F# and XAML
- Cocoa desktop apps in C# or F#
This article explores various sections of Visual Studio for Mac, providing a look at some of the features that make it a powerful tool for creating these applications.
IDE tour
Visual Studio for Mac is organized into several sections for managing application files and settings, creating application code, and debugging.
Getting started
When you start Visual Studio 2019 for Mac, new users will see a sign-in window. Sign-in with your Microsoft account to activate a paid license (if you have one) or link to Azure subscriptions. You can press I'll do this later and sign in later via the Visual Studio > Sign in menu item:
You'll then be given the option to customize the IDE by selecting your preferred keyboard shortcuts: Visual Studio for Mac, Visual Studio, Visual Studio Code, or Xcode:
Signed-in users will see the new start window, which shows a list of recent projects, and buttons to open an existing project or create a new one:
Solutions and projects
The following image shows Visual Studio for Mac with an application loaded:
The following sections provide an overview of the major areas in Visual Studio for Mac.
Solution pad
The Solution Pad organizes the project(s) in a solution:
This is where files for the source code, resources, user interface, and dependencies are organized into platform-specific Projects.
For more information on using Projects and Solutions in Visual Studio for Mac, see the Projects and Solutions article.
Assembly references
Assembly references for each project are available under the References folder:
Additional references are added using the Edit References dialog, which is displayed by double-clicking on the References folder, or by selecting Edit References on its context menu actions:
For more information on using References in Visual Studio for Mac, see the Managing References in a Project article.
Dependencies / packages
All external dependencies used in your app are stored in the Dependencies or Packages folder, depending on whether you are in a .Net Core or Xamarin.iOS/Xamarin.Android project. These are usually provided in the form of a NuGet.
NuGet is the most popular package manager for .NET development. With Visual Studio's NuGet support, you can easily search for and add packages to your project to application.
To add a dependency to your application, right-click on the Dependencies / Packages folder, and select Add Packages:
Information on using a NuGet package in an application can be found in the Including a NuGet project in your project article.
Source Editor
Regardless of if you're writing in C#, XAML, or Javascript, the code editor the shares the same core components with Visual Studio Windows, with an entirely native user interface.
This brings some of the following features:
- Native macOS (Cocoa-based) user interface (tooltips, editor surface, margin adornments, text rendering, IntelliSense)
- IntelliSense type filtering and 'show import items'
- Support for native text inputs
- RTL/BiDi language support
- Roslyn 3
- Multi-caret support
- Word wrap
- Updated IntelliSense UI
- Improved find/replace
- Snippet support
- Format selection
- Inline lightbulbs
For more information on using the Source Editor in Visual Studio for Mac, see the Source Editor documentation.
To keep tabs visible at all times, you can take advantage of pinning them. This ensures that every time you launch a project, the tab you need will always appear. To pin a tab, hover over the tab and click the pin icon:
Refactoring
Visual Studio for Mac provides two useful ways to refactor your code: Context Actions, and Source Analysis. You can read more about them in the Refactoring article.
Debugging
Visual Studio for Mac has debuggers that support .NET Core, .NET Framework, Unity, and Xamarin projects. Visual Studio for Mac uses the .NET Core debugger and the Mono Soft Debugger, allowing the IDE to debug managed code across all platforms. For additional information on debugging, visit the Debugging article.
The debugger contains rich visualizers for special types such as strings, colors, URLs, as well as sizes, coordinates, and bézier curves.
For more information on the debugger's data visualizations, visit the Data Visualizations article.
Version control
Visual Studio for Mac integrates with Git and Subversion source control systems. Projects under source control are denoted with the branch listed next to the Solution name:
Files with uncommitted changes have an annotation on their icons in the Solution Pane, as illustrated in the following image:
For more information on using version control in Visual Studio, see the Version Control article.
Next steps
Related Video
![Visual studio 2017 for mac Visual studio 2017 for mac](/uploads/1/2/6/3/126359763/654343191.png)
See also
-->|Developer Community |System Requirements |Compatibility |Distributable Code |Documentation |Blogs |Servicing |
Click the button to download the latest version of Visual Studio 2019 for Mac. For information on the system requirements see the see Mac System Requirementsand Mac Platform Targeting and Compatibility guides.
For instructions on installing and updating Visual Studio 2019 for Mac, see theInstall Visual Studio for Mac guide.
To learn more about other related downloads, see the Downloads page.
What's New in Visual Studio 2019 for Mac
Visual Studio 2019 for Mac Releases
- January 14, 2020 - Visual Studio 2019 for Mac version 8.4.1
- January 8, 2020 — Visual Studio 2019 for Mac version 8.4
Visual Studio 2019 for Mac Blog Posts
The Visual Studio Blog is the official source of product insight from the Visual Studio Engineering Team. You can find in-depth information about the Visual Studio 2019 for Mac releases in the following posts:
Release Highlights
- This release adds support for .NET Core 3.1.100.
- This release focuses on improving the overall experience using assistive technologies in Visual Studio for Mac.
- This release brings additional features for .NET Core developers including:
- Scaffolding support for ASP.NET Core projects.
- The ability to develop and publish ASP.NET Core Blazor Server applications.
- Editor refinement, including support for .razor files.
- Pack support for creating NuGet packages from .NET Core library projects.
Known Issues
Refer to the Known Issues section.
Visual Studio 2019 for Mac version 8.4.1 (8.4.1.2)
released January 14, 2020
This service release fixes the following issues:
- We fixed an issue where the bottom toolbar in the Xamarin Designer is being cut off.
- We addressed a high volume crash.
Visual Studio 2019 for Mac version 8.4 (8.4.0.2657)
released January 8, 2020
New Features
Accessibility
We made a number of changes to improve the accessibility of Visual Studio for Mac in this release including:
- Increasing contrast for text and icons throughout the IDE.
- Improving keyboard navigation and shortcuts.
- Refining focus order when navigating using assistive technologies.
- Reducing the number of steps needed to move between certain elements on the Start Page while using VoiceOver.
- The 'Pin button' on the Start Page can now be accessed with VoiceOver.
- Improving VoiceOver dictation and navigation throughout the IDE in the following areas and more:
- Recently used templates page
- Font picker
- Document view tabs
- Global Search Results
- Code editor
- Code snippets
- Updater
- Version control
- Project options
- Mitigating keyboard traps in Xamarin designer property panels and made previously inaccessible areas in those property panels accessible.
- Completely rewriting previously inaccessible IDE components to make them accessible.
Web and Azure
- We added support for ASP.NET Core Scaffolding.
- We added support for editing .razor files.
- We added support for provisioning Azure SignalR Service for Blazor Server projects during publish to Azure App Service.
- We added support to Pack .NET Standard library projects.
Editor
- All files should now open in the new editor unless legacy editor is explicitly needed.
- We fixed some performance leaks in the editor.
- We updated to use the latest FSharp.CompilerService.
- We improved support for .csx files.
- We have added support for TypeScript 3.7, with new features like Optional Chaining and Nullish Coalescing.
- Blazor support has improved IntelliSense and debugger integration.
Shell
- We have added a native and fully accessible (keyboard and VoiceOver) property pad control from the Android designer to the shelland enabled it by default for all solution items.
Debugger
- We have implemented native controls for the debugger tooltips, locals pad and watch pads, and the exception caught dialog which allowed for us to re-enable pinned watches in the editor.
Xamarin
- XAML Hot Reload for Xamarin.Forms is now on by default and built-in to the IDE. To learn more about XAML Hot Reload, see the XAML Hot Reload documentation.
- You can now create Android App Bundles when publishing your Android applications in Visual Studio. App Bundles provide users with with optimized APKs per their device specifications when downloading an app from the Google Play Store or various Android App Stores.
- You can now use an AndroidX migration wizard to convert your existing Android application to AndroidX from the Android Support Library.
- You are now provided a set of common issues when editing your layouts inside the Android designer.
Installer
- The installer now supports dark theme.
- The installer will now clean up older minor versions of .NET Core that were previously installed using the installer.
- HAXM and AVD creation support have been removed from the installer. Creation of AVDs should be done using Visual Studio for Mac's device manager.
- The installer, and Visual Studio for Mac, no longer supports macOS Sierra.
Bug Fixes
Shell and Tools
We fixed the following issues with the IDE:
- We added notarization support for macOS Catalina.
- Dialog locations are inconsistent.
- The accounts Window is always on top, even when leaving Visual Studio for Mac.
- The IDE opens in the wrong Desktop if the Start Window is dragged to a new desktop.
- 'New' is cut off at the bottom in the Start Window in some languages.
- If you choose not to sign in on first run, you'll continually get prompted through the first run experience.
- Hitting return in a search field doesn't search.
- Tab key to change between views seems to be broken.
- Visual Studio Community lacks UTF-8 (no signature) format.
- Preferences menu item does not open.
- We fixed an issue where extension manager cannot be closed once opened.
Editor
We fixed the following issues with editing source code:
- The IDE would re-default to 'case sensitive' search.
- When creating a breakpoint, selected lines would not be auto-filled.
- When copy/pasting a word-wrapped line, only the first line would be copied.
- The emoji selector would not display.
- Commenting commands does not work in .js/.ts files.
- We fixed an issue where code formatting in .js/.ts files could delete user code unexpectedly.
- The insert line command (shift+enter) would not work.
- The 'Show quick info' and 'Focus Document' commands would not work.
- We removed some obsolete refactorings.
- We fixed an issue where font weight was being ignored.
- More msbuild files (such as .props) are now syntax-highlighted.
- We fixed an issue where editor commands sometimes stopped working when tabs were moved into separate windows.
- We fixed an issue where files sometimes opened scrolled to the right.
- We fixed an issue where some tooltips were missing from Find.
- We fixed an issue where quick info tooltips were not displayed for some properties.
- Blazor support received several fixes to productivity features such as Go To Defintion and debugger tooltips.
- The IntelliSense completion list now responds properly to text zoom commands.
Web and Azure
We fixed the following issues with .NET Core support:
- The Blazor template has been added to the New Project dialog.
- Razor component and Worker Service templates added to New Item dialog.
- Launch settings were previously generated with https but project doesn't support https.
- When creating a new ASP.NET Core project the port number was not unique.
- We improved ASP.NET Core project loading times, especially in projects with extensive File Nesting.
- We fixed an issue where updating to 3.0 Azure Functions Templates in the Project Creation Wizard causes Azure Functions to disappear as an option.
We fixed the following issues with Azure Functions support:
- Azure Functions was missing templates for AzureFunctionsVersion, v2.
Version Control
We fixed the following issues with Version Control:
- Cancelling an SVN checkout can accidentally delete user files.
Project System
We fixed the following issues with Projects:
- Manually adding DefaultTargets to csproj gets overridden when VS modifies the project.
- Inconsistent naming for removal on files and projects.
- Project context menu is missing 'Add Reference'.
- Renaming a file in the solution pad does not re-apply nesting rules.
- Change title of window from 'Edit References' to 'References'.
- Project model reports wrong references for certain projects.
- We fixed an issue where Define Constants would not be defined correctly when defined in imported projects.
- We fixed an issue where Visual Studio for Mac could get stuck in a loop saving a project that was under source control.
Debugging
We fixed the following issues with Debugging:
- We added a missing 'Debug All Tests' command.
- Hovering over an expression may change the value of variables in the .NET Core debugger.
- Opening the Exception Caught dialog makes the IDE hang.
- We fixed an issue where pinning properties in debug doesn't work.
Xamarin
We fixed the following issues with the Xamarin support:
- Visual Studio for Mac reporting iOS specific classes, methods and enums unavailable in iOS.
- We improved an unhelpful error message when signing an archive for distribution.
- We fixed an issue where document outlines in storyboards are empty.
- We fixed an error where the Xamarin.Forms multiplatform templates would add files to disk, but not add them to the solution itself.
- We fixed an issue where Visual Studio for Mac was failing to upload Android archives to the Google Playstore with the message: 'API has been deprecated'.
Testing
We fixed the following issues with Testing:
- 'Show Test Source Code' does nothing if you right click a test class name.
- 'Run Test' does not run the test if a compile is required.
- We fixed an issue where the debugger doesn't open a file on failure during test debugging.
Installer
We squashed a handful of behind-the-scenes bugs in the installer.
Updater
We fixed the following issues with the updater:
- Progress indicator was empty after an unsuccessful download.
- Updater does not wait for IDE to exit before installing updates.
Known Issues
- After adding a new file using the Razor Component file template, the project may fail to build. The issue is caused by some unneeded elements in the project file (.csproj file), remove elements referencing the new file from the project file, and the project should build successfully.
- When developing ASP.NET Core projects, if .NET Core SDK 3.1 Preview is installed, https connections may be refused. The browser may not launch, or when using docker, certificate errors are shown. To workaround this, run the following commands in the terminal;
dotnet dev-certs https —clean
and thendotnet dev-certs https —trust
. - Pressing backspace does not delete a watch from the Watches pad.
Feedback
We would love to hear from you! You can report a problem through the Report a Problem option in Visual Studio for Mac IDE.You can track your feedback, including suggestions, in the Developer Community portal.