Go to file
Nate McMaster 1836201bee Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
build Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
samples/dotnet-watch
shared
src Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
test Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
testWorkDir
.appveyor.yml Update bootstrappers 2017-10-09 12:55:24 -07:00
.editorconfig
.gitattributes
.gitignore Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
.travis.yml
CONTRIBUTING.md
Directory.Build.props Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
Directory.Build.targets Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
DotNetTools.sln Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
LICENSE.txt
NuGet.config Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
NuGetPackageVerifier.json Add HTTPS developer certificate management tool 2017-10-17 11:22:32 -07:00
README.md
build.cmd Update bootstrappers 2017-10-09 12:55:24 -07:00
build.sh Update bootstrappers 2017-10-09 12:55:24 -07:00
korebuild-lock.txt Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
korebuild.json Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
run.cmd Update bootstrappers 2017-10-09 12:55:24 -07:00
run.ps1 Update bootstrappers 2017-10-09 12:55:24 -07:00
run.sh Update bootstrappers 2017-10-09 12:55:24 -07:00
version.props Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00

README.md

DotNetTools

Travis build status AppVeyor build status

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at https://docs.asp.net.

Projects

The repository contains command-line tools for the .NET Core CLI. Follow the links below for more details on each tool.

How to Install

Install tools by editing your *.csproj file and adding a DotNetCliToolReference with the package name and version.

  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="2.0.0" />
    <DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="2.0.0" />
    <DotNetCliToolReference Include="Microsoft.Extensions.Caching.SqlConfig.Tools" Version="2.0.0" />
  </ItemGroup>

Then, from command line, change directories to your project and run the following commands:

# Location of MyProject.csproj which includes DotNetCliToolReference's
cd C:\Source\MyProject\

# Download tools into the project
dotnet restore

# Execute tools
dotnet watch
dotnet user-secrets
dotnet sql-cache