Go to file
Pranav K 78ee75c32f Branching for 2.0.0 rtm 2017-07-10 11:42:05 -07:00
build Set "TreatWarningsAsErrors" before NuGet restore 2017-07-06 13:22:07 -07:00
samples/dotnet-watch
shared
src Remove use of GetTempFileName (#313) 2017-06-28 12:11:17 -07:00
test
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
DotNetTools.sln
LICENSE.txt Update LICENSE.txt text 2017-07-03 14:05:27 -07:00
NuGet.config Branching for 2.0.0 rtm 2017-07-10 11:42:05 -07:00
NuGetPackageVerifier.json
README.md
appveyor.yml
build.cmd
build.ps1
build.sh
version.props Update version suffix for 2.0.0 RTM release 2017-07-06 15:08:09 -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