Visual Studio Code - debug by “Attach” does not work on Mac OS. I got the answer from MS Support Team, it works like a champ now:) Love VSCode and the team so much. Below is the answer from Andre Weinand of VSCode Team: In 'Attach' mode the VSCode debugger needs to connect to the debug port of the node runtime, which. Twitter user @awsm9000 has created a GitHub repo to get beginners started developing cross platform 6502 assembly with VSCode. With this basic setup you will be able to write and compile 6502 assembly code on Mac, Linux or Windows.It is by no means perfect, but it should get most beginners started and is easy to setup and configure.
-->
To start developing native, cross-platform .NET apps on macOS, install Visual Studio 2019 for Mac following the steps below.
Requirements
- A Mac with macOS High Sierra 10.12 or above.
Oct 30, 2017 After 1 hour of wasting time trying to figure out what happened, I decide to kill it all and start again. Hope this will be helpful for those who wants to complete remove vscode on their mac. There were likely vscode windows running when my laptop ran out of power. My suspicion is that macos brought back some subset of resources vscode needs when it restored my state after regaining power, but somehow this left vscode in an inoperable state.
To build Xamarin apps for iOS or macOS, you'll also need:
- Xcode 10.0 or above. The latest stable version is usually recommended.
- An Apple ID. If you don't have an Apple ID already you can create a new one at https://appleid.apple.com. It's necessary to have an Apple ID for installing and signing into Xcode.
Installation instructions
- Download the installer from the Visual Studio for Mac download page.
- Once the download is complete, click the VisualStudioforMacInstaller.dmg to mount the installer, then run it by double-clicking the arrow logo:
- You may be presented with a warning about the application being downloaded from the Internet. Click Open.
- Wait while the installer checks your system:
- An alert will appear asking you to acknowledge the privacy and license terms. Follow the links to read them, then press Continue if you agree:
- The list of available workloads is displayed. Select the components you wish to use:If you do not wish to install all platforms, use the guide below to help you decide which platforms to install:
Type of App | Target | Selection | Notes |
---|---|---|---|
Apps Using Xamarin | Xamarin.Forms | Select Android and iOS platforms | You will need to install Xcode |
iOS only | Select iOS platform | You will need to install Xcode | |
Android only | Select Android platform | Note that you should also select the relevant dependencies | |
Mac only | Select macOS (Cocoa) platform | You will need to install Xcode | |
.NET Core applications | Select .NET Core platform. | ||
ASP.NET Core Web Applications | Select .NET Core platform. | ||
Azure Functions | Select .NET Core platform. | ||
Cross-platform Unity Game Development | No additional platforms need to be installed beyond Visual Studio for Mac. | Refer to the Unity setup guide for more information on installing the Unity extension. |
- After you have made your selections, press the Install button.
- The installer will display progress as it downloads and installs Visual Studio for Mac and the selected workloads. You will be prompted to enter your password to grant the privileges necessary for installation.:
- Once installed, Visual Studio for Mac will prompt you to personalize your installation by signing in and selecting the key bindings that you'd like to use: Messages for mac.
If you have network trouble while installing in a corporate environment, review the installing behind a firewall or proxy instructions.
Visual Code For Mac
Learn more about the changes in the release notes.
External webcam for mac. Note
If you chose not to install a platform or tool during the original installation (by unselecting it in step #6), you must run the installer again if you wish to add the components later.
Install Visual Studio for Mac behind a firewall or proxy server
To install Visual Studio for Mac behind a firewall, certain endpoints must be made accessible in order to allow downloads of the required tools and updates for your software.
Vs Code For Mac
Configure your network to allow access to the following locations:
Next steps
Vscode For Mac
Installing Visual Studio for Mac allows you to start writing code for your apps. The following guides are provided to guide you through the next steps of writing and deploying your projects.
iOS
- Device Provisioning(To run your application on device).
Android
.NET Core apps, ASP.NET Core web apps, Unity game development
For other Workloads, refer to the Workloads page.
Related Video
See also
I engage with a lot of our customers that work on Angular applications and I frequently get asked the following question: Should we use Visual Studio 2017 or VS Code for our next application? The short answer is doesn't matter because both provide similar capabilities for the most part. In this blog post I will show you how to setup both environments to allow you to be productive when building your next Angular application.
Before I start let me debunk couple myths:
- Myth 1: Visual Studio 2017 doesn't support folder based projects which is essential for Angular applications that are built using the Angular-CLI. Thus, it is easier to work with VS Code when it comes to Angular projects.
- Reality: Visual Studio 2017 now supports folder based projects which makes the experience similar to that provided by VS Code.
- Myth 2: Visual Studio is a better choice for back-end piece whereas VS Code would be a better choice for the front-end piece.
- Reality: Both are equipped to handle both scenarios. With the new Asp.Net CLI tools for example you can now easily build Asp.Net WebApi projects with VS Code as the tools are disconnected from the IDE.
- Myth3: Use VS Code only if you are working against git based repositories as VS Code doesn't support checking into repositories using TFVC as the version control.
- Reality: Both support Git and TFVC.
In this post I will focus on debunking the first myth while addressing the other myths in future posts.
In this example I will assume that you have already created an Angular application using the Angular-CLI. As you can see in the following figure, Visual Studio 2017 allows loading folder based projects. As a matter of fact Visual Studio 2017 installation adds a context menu where it allows you to simply right click inside the folder and load it with Visual Studio 2017.
Here is an Angular project loaded and being served from the terminal using the ng serve command. In this example I am using the Whack Whack terminal emulator extension for Visual studio which can be found here.
The same code loaded with VS Code provides a similar experience. Just like Visual Studio 2017, you can add a context menu ( you have to opt in during installation of VS Code) which allows you to right click inside the folder and load it with VS Code. Here is an Angular project being served from the built in terminal using the ng serve command.
As you saw above, VS Code and Visual Studio 2017 are not meant to replace each another, but rather complement each other. Some people like the experience of a full fledged IDE like Visual Studio 2017 while others prefer the experience of a code editor like VS Code. Regardless of which one you pick you will be productive while developing your next Angular application. Note that at the time of writing this post Visual Studio 2017 is only available on Windows and Mac while VS Code is available on Windows/Linux/Mac as its built using an electron shell.