Go to file
Nate McMaster d1d656d5b8 Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00
build Update dependencies and build version to 1.2.0 2017-03-14 12:22:25 -07:00
samples/dotnet-watch Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00
shared Update dependencies and build version to 1.2.0 2017-03-14 12:22:25 -07:00
src Add samples and update READMEs (#275) 2017-03-15 09:29:05 -07:00
test Update dependencies and build version to 1.2.0 2017-03-14 12:22:25 -07:00
.editorconfig
.gitattributes
.gitignore
.travis.yml Update dependencies and build version to 1.2.0 2017-03-14 12:22:25 -07:00
CONTRIBUTING.md
DotNetTools.sln
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
appveyor.yml Update dependencies and build version to 1.2.0 2017-03-14 12:22:25 -07:00
build.cmd
build.ps1
build.sh
version.props Update dependencies and build version to 1.2.0 2017-03-14 12:22:25 -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="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="1.0.0" />
    <DotNetCliToolReference Include="Microsoft.Extensions.Caching.SqlConfig.Tools" Version="1.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