Book Image

.NET Standard 2.0 Cookbook

By : Fiqri Ismail
Book Image

.NET Standard 2.0 Cookbook

By: Fiqri Ismail

Overview of this book

The .NET Standard is a standard that represents a set of APIs that all .NET platforms have to implement, making it easy for developers to access and use one common library for their development needs. This book begins with a quick refresher, helping you understand the mechanics of the new standard and offering insight into how it works. You’ll explore the core library concepts, such as working with collections, configurations, I/O, security, and multithreading. You’ll explore the iOS and Android libraries of Xamarin and we’ll guide you through creating a .NET Standard 2.0 library, which you’ll use with both Android and iOS applications. In the final chapters, you’ll learn the various debugging and diagnostics tools to deliver quality libraries and create a NuGet package of the .NET Standard 2.0 library. By the end of this book, you’ll be able to expand your current workflow to various .NET flavors and have the essential skills to create a .NET Standard 2.0 library from scratch to package and deliver it to the world.
Table of Contents (18 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Installing Visual Studio for Mac


In this recipe, we will be looking at how to get Visual Studio for Mac and install it. We will also be looking at setting up a few other things.

Getting ready

Make sure you have a Mac to complete this recipe. Currently, I am using macOS High Sierra version 10.13.3. Also make sure you have already installed the latest version of XCode. XCode is required, alongside Visual Studio, for Mac to build iOS applications.

How to do it...

  1. Let's open up your favorite browser.
  2. Type https://www.xamarin.com/download in the address bar and press Enter.
  3. You should see a screen similar to this:
  1. Now, fill in your details and press the Download VS for Mac Community button. 
  2. This will download a file to the Downloads directory by default, named  VisualStudioForMacInstaller__215259590.1517557727.dmg or something similar (the end numbers might change when you download it.)
  3. Double-click on that file.
  1. You should see a window similar to this:
  1. Double-click on the down arrow. In the next screen...