Several tools available only on a per-project basis using DotnetCliToolReference are now available as part of the .NET Core SDK. These tools include:
dotnet watch provides a file system watcher that waits for a file to change before executing a designated set of commands. For example, the following command automatically rebuilds the current project and generates verbose output whenever a file in it changes:
.NET Core CLI
dotnet watch -- --verbose build
--option that precedes the
--verboseoption delimits the options passed directly to the
dotnet watchcommand from the arguments passed to the child dotnet process.
--verboseoption applies to the
dotnet watchcommand, not the
Some configuration options can be passed to dotnet watch through environment variables. The available variables are:
||If set to
dotnet dev-certs generates and manages certificates used during development in ASP.NET Core applications.
dotnet user-secrets manages the secrets in a user secret store in ASP.NET Core applications.
dotnet sql-cache creates a table and indexes in a Microsoft SQL Server database to be used for distributed caching.
dotnet ef is a tool for managing databases, DbContext objects, and migrations in Entity Framework Core applications.
dotnetcommand, which is part of the .NET Core SDK.