Skip to Main Content
Modern Web Development with ASP.NET Core 3 - Second Edition
book

Modern Web Development with ASP.NET Core 3 - Second Edition

by Ricardo Peres
June 2020
Intermediate to advanced content levelIntermediate to advanced
802 pages
16h 11m
English
Packt Publishing
Content preview from Modern Web Development with ASP.NET Core 3 - Second Edition
Appendix A: The dotnet Tool

The dotnet Tool

Thedotnettool is the Swiss Army knife of .NET Core development. It can be used for a lot of things, from running and creating new projects, to building them, adding NuGet references, running unit tests—you name it. It is installed with the .NET Core software development kit (SDK). Here, we will see some of the most useful commands that it has to offer.

By default,dotnetalways operates with the latest .NET Core version it can find. You can list all of the installed versions through the--infoargument, as follows:

          dotnet --info
        

Build

This tool can be used to build a project or a whole solution. The command used for the build isbuild, and the most typical arguments are the following ones:

  • <solution ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Full-Stack Web Development with ASP.NET Core

Hands-On Full-Stack Web Development with ASP.NET Core

Tamir Dresher, Amir Zuker, Shay Friedman

Publisher Resources

ISBN: 9781789619768Supplemental Content