Skip to content

Latest commit

 

History

History
69 lines (62 loc) · 9.48 KB

project-tools.md

File metadata and controls

69 lines (62 loc) · 9.48 KB

Project tools

A list of project-only tools. Unlike global tools, these tools can only be installed by adding <DotNetCliToolReference> into your MSBuild project file, and are only available in the project folder.

<ItemGroup>
  <DotNetCliToolReference Include="package id" Version="version" />
</ItemGroup>

To use them, run dotnet restore. After restore is done, these tools are available as new subcommands of dotnet when you execute the command from the project directory.

Pro-tip: these tools must be named dotnet-something. Global tools, on the other hand, do not need this prefix.

Name Description
dotnet-autover A tool to auto update build version for your project. NuGet
dotnet-bolt Tools for Bolt, a lean and lightweight WCF alternative library based on ASP.NET Core. NuGet
dotnet-bundle BundlerMinifier.Core let's you configure bundling and minification of JS, CSS and HTML files. NuGet
dotnet-clean DotNet.Cleaner.Tools is a tool for cleaning projects NuGet
dotnet-commands A tool that allows you to use any executable as a .NET CLI Command, with special treatment for .NET Core apps. Follow these instructions to install.
dotnet-compile-php Command line for Peachpie - the PHP Compiler and Runtime for .NET NuGet
dotnet-csproj-to-2017 Tool for converting a pre VS2017 csproj file to the new package format. NuGet
dotnet-dbupdate A tool for managing scripts to backup and update MySQL and MSSQL databases NuGet
dotnet-docxml2md A tool to converter .NET XML documentation into Markdown NuGet
dotnet-eb Tools to deploy ASP.NET Core apps to AWS Elastic Beanstalk. NuGet
dotnet-ecs Tools to deploy containers to Amazon Elastic Container Service functions. NuGet
dotnet-fake-cli F# make tool for running build.fsx files. NuGet
dotnet-fb FluentBehave is a simple framework to generate C# code base on Gherkin feature files. NuGet
dotnet-flubu Fluent Builder. A cross platform build automation tool for building projects and executing deployment scripts using C# code. Nuget
dotnet-fssrgen F# String Response Generator NuGet
dotnet-gen A code generator for dotnet projects NuGet
dotnet-git-commit-hash Tool that generates a C# source code file making the latest git commit hash available at runtime. NuGet
dotnet-gitversion Uses conventions to derive a SemVer product version from a GitFlow or GitHub based repository. NuGet
dotnet-globwatch GlobWatch is a .NET Core file system watcher that runs commands on changes. NuGet
dotnet-gplex Tools for dotnet core based on Gardens Point LEX version 1.2.2 NuGet
dotnet-gppg Adaptation of Gardens Point Parser Generator version 1.5.2 for dotnet core NuGet
dotnet-imgopt ImageOptimize is a tool for image optimization. NuGet
dotnet-lambda Tools to deploy AWS Lambda functions. NuGet
dotnet-migrate A runner for Fluent Migrator. NuGet
dotnet-mono Run applications targeting .net full framework with mono. NuGet
dotnet-nanopack A tool to package ASP.NET Core applications into a NanoServer VHD. NuGet
dotnet-nswag Tools for NSwag, a Swagger 2.0 API for .NET, Web API, TypeScript. NuGet
dotnet-outdated DotNetOutdated is a tool to check for outdated .NET Core dependencies. NuGet
dotnet-project-version ProjectVersioning.DotNet.Cli is a project version generator tool NuGet
dotnet-prop dotnet-cli tool for managing properties in netcore projects based on MSBuild. NuGet
dotnet-proto A tool to assist with compiling and versioning Google Protobuf schema files. NuGet
dotnet-publish-ssh DotnetPublishSsh is a a tool to publish your .NET Core application to Linux server via SSH. NuGet
dotnet-swashbuckle Swashbuckle extensions to add examples and security requirements in the generated Swagger file. NuGet
dotnet-tinify A tool for squashing PNG and JPEG files using the TinyPNG API. NuGet
dotnet-transform-xdt XDT (XML Document Transform) publish tool for transforming XML files at publishing time. NuGet
dotnet-tsd Typescript.Definitions.Tools is a helper library to generate typescript definition files and typescript files from c# code. NuGet
dotnet-tt T4 (Text Template Transformation Toolkit) for .NET Core
dotnet-unpkg A tool to install front-end packages from unpkg.com with no need for Node.js/NPM/Yarn/whatever. NuGet
dotnet-web-compile A tool to compile client web files (e.g. SCSS, TS, etc). NuGet
dotnet-xunit A command-line runner for xunit. NuGet

Special mention These tools area available as packages for .NET Core CLI 1.x or 2.0. In the 2.1 CLI, these were made part of the CLI and do not need to be specially installed. See aspnet/Announcements#290.

Name Description
dotnet-ef Tools for Entity Framework Core NuGet
dotnet-sql-cache Initializes a MSSQL database with tables for use with Microsoft.Extensions.Caching.SqlServer. NuGet
dotnet-user-secrets Tool for adding, removing and changing user secrets for use with Microsoft.Extensions.Configuration.UserSecrets NuGet
dotnet-watch A .NET Core file watcher that triggers dotnet commands when a project or its files change NuGet