Docker support for VS Code is provided by an extension. Stored in your operating system credentials vault (for example macOS keychain, Windows Credential.
It’s been a while since I last posted an article. I’ve been really busy with the technical training sessions I’ve been facilitating. Not only that, the craziest thing also happened to me just last week. My personal laptop, where I keep all of my important files, do all of my mobile development, etc., has succumbed to the ephemeral nature of its existence. In short, it’s broken. I still have three upcoming events and I need a machine to share my presentation and do the demos. Luckily, my company lend me a Mac.
The “Problem”
The thing is, this is the first time I’m going to use a Mac and I’m kind of not really happy using a Mac machine since I’ve been a solid PC master race member since birth. So, yeah, this is new to me. Yes, I have no problems with showing my presentations to the audiences using Mac. What I was worried about is my development setup. How can I demo Xamarin Development? (I’m kind of underestimating the power of Mac :P) And yes, I knew that Visual Studio for Mac exists, but I wasn’t sure what else to setup other than that. I thought I needed to install different components, configure a couple of stuff, etc. But I was wrong. So so wrong. All I needed to do was to launch Visual Studio Installer and install Visual Studio for Mac and that’s it!
Download Visual Studio Installer for Mac
First of all, what you need to do is to download the Visual Studio Installer by going to this link and click the Download Visual Studio for Mac button. It will download a disk image (.dmg) file of Visual Studio Installer.
Launch the Visual Studio Installer
Once done downloading the installer, you can launch it and you will see this application. You can just press the big install icon. It will check if some of the components are installed and load a couple of stuff and proceed to the next installation step.
A popup will appear wherein you can read the license terms. You can just press continue.
Getting Xcode (Optional)
If you’re only developing an application for Android, you can skip this step. Though, most likely, you will. So you need to install Xcode by clicking Get Xcode. We will not discuss how to install Xcode, we will focus on the Visual Studio installation.
What would you like to install?
This is the next step on your installation. This will install the Visual Studio IDE + Xamarin Profiler Which you can use to find memory leaks, resolve performance bottlenecks, and add polish to your apps before getting them out the door. The next two categories are the platforms and tools. For the platforms, you have Xamarin Native development for Android and iOS (both include the Xamarin.Forms). You also have macOS development. For tools, you have Xamarin Workbooks and Xamarin UI Inspector. All platforms and tools are initially checked, but you can excluded any of them. But, I would suggest to install all of them, because they’re all significant. Well, I guess you won’t be using macOS :P
IDE, Platform and Tools Installation
After selecting the platform and tools that you want to install, you can finally continue will the actual installation. I installed all platforms and tools and it took me 3 hours (my connection sucks). The installation will ask for your machine credentials for a couple of times. It won’t continue with the installation unless you type in your credentials.
Launch Visual Studio
Once done with the installation, you can now launch Visual Studio! Nope, there is nothing else you need to download and install. You can now create a new Xamarin project and run it without any issue. You also have the XAML previewer running here and it looks really clean.
This makes me really happy, because I was thinking it will consume a lot of my time setting my development environment up. Apparently, Visual Studio Installer is all I need. This article really won’t help you that much with the installation. This is more of a reaction to Visual Stuio for Mac and also an appreciation blog post for the Visual Studio team. I really appreciate it, because it’s hassle-free. Hope you Mac guys try Visual Studio for Mac out, too. Happy coding!
Reference/s:
-->Developer Community |System Requirements |Compatibility |Distributable Code |Xamarin |Blogs |Servicing
Note
If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit this Release Notes page in English.
Tip
You can switch the page language at the bottom of this page. Click the globe icon, search for your language, or select from the list of available languages.
This article contains information about the newest release of Visual Studio 2017 for Mac, version 7.2.
Use Visual Studio 2017 for Mac to build apps for mobile, web, and the cloud with Xamarin and .NET Core, as well as games with Unity.
To learn more about Visual Studio 2017 for Mac, see Mac System Requirementsand Mac Platform Targeting and Compatibility.
To learn more about other related downloads, see the Downloads page.
Feedback
We’d love to hear from you! You can report a problem via the Report a Problem option inthe upper right hand corner of the Visual Studio for Mac IDE itself. You can track your feedback in the Developer Community portal. For suggestions,let us know through UserVoice.
Release Date: November 8, 2017 - Visual Studio 2017 for Mac 7.2.2.11
This release includes support for Xcode 9.1.
Release Date: October 30, 2017 - Visual Studio 2017 for Mac 7.2.2.7
The following issues were fixed in this release:
- Fixed an issue that would prevent users from registering Google Play Api keys needed to publish to Play Store.
- Fixed an issue where the IDE could crash if objective-c code throws an exception.
Release Date: October 9, 2017 - Visual Studio 2017 for Mac 7.2.0.636
Visual Studio for Mac 7.2 primarily focuses on bug fixes and performance improvements and includes the following features.
.NET Core
- .NET Core 2 is now included by default during installation
Android
- On-demand SDK installer. Android SDKs that are not installed can be installed in the background.
- Android 8.0 Oreo is now supported.
iOS
- Xcode 9 is supported in this release.
Docker Support
You can now publish ASP.NET Core apps to Docker containers and run them from an App Service.
To enable Docker support to your project, right click on your ASP.NET Core web app and Add > Add Docker Support.
To publish your web app to a Docker container, use the Publish > Publish to Azure workflow introduced in Visual Studio for Mac (right click on the web app project in the Solution Pad).
During publishing the following resources are created on Azure:
- A container registry.
- A new Docker image is created, tagged, and pushed to this Azure container registry.
- Azure storage, for the container registry.
- An App Service.
- This downloads the image from the container registry and runs it.
Note:
- If you use an existing Resource Group, it must be in the same region as the App Service Plan you are creating.
- If you are creating a new Resource Group, you must set the Container Registry and the App Service plan to be in the same region (e.g. both must be in “West US”).
- The VM size of the App Service Plan must be
S1
or larger.
Xamarin Live Player (Preview)
Xamarin Live Player enables developers to continuously deploy and debug their app, straight to an iOS or Android device.
For more information visit xamarin.com/live.
Note that Live Player integration is currently disabled. It can be enabled in Preferences | Project | Xamarin Live Player (Preview) by toggling 'Enable Xamarin Live Player'.
Other
- IoT and Azure Functions are currently in preview and are available as additional Extensions available via the Extension Manager. They are not installed by default with Visual Studio for Mac.
Top Issues Fixed in this Release
Known Issues
- Azure Functions: Debugging Azure Functions does not work when the project is first created. Close and reopen the project to be able to debug.
- Docker can interfere with launching Android emulators that use HAXM. When debugging Android apps on emulators, please shutdown Docker before attempting to debug.