-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
.NET Standard 2.0 Cookbook
By :
In this recipe, we will be creating a .NET Standard 2.0 library that writes a text file as a log file. This log file will contain simple text entries of operations we do in an application. It will also demonstrate the use of command-line tools that come under the .NET Core SDK to create a solution and add projects as we move on.
Make sure you have installed Ubuntu 16.04 and .NET Core 2.0 SDK. If not, please follow the previous recipe to do so. Assuming everything is installed and .NET Core 2.0 is up and running, let's get started on creating the library that writes logs as text.
Make sure you have downloaded and installed Visual Studio Code from https://code.visualstudio.com. It's a straightforward installation of a .deb file from the site.
$ dotnet new sln -o Chapter3 -n Chapter3.LogFile
Change the font size
Change margin width
Change background colour