Go to file
Nate McMaster bd725635c7 Use MSBuild to set NuGet feeds instead of NuGet.config 2017-11-20 12:15:49 -08:00
build Use MSBuild to set NuGet feeds instead of NuGet.config 2017-11-20 12:15:49 -08:00
samples/dotnet-watch
shared
src Added a package for generating HTTPS Certificates on CLI first run scenarios 2017-11-15 18:20:17 -08:00
test
testWorkDir
.appveyor.yml
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Use MSBuild to set NuGet feeds instead of NuGet.config 2017-11-20 12:15:49 -08:00
Directory.Build.targets Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1 2017-11-17 13:00:24 -08:00
DotNetTools.sln Added a package for generating HTTPS Certificates on CLI first run scenarios 2017-11-15 18:20:17 -08:00
LICENSE.txt
NuGet.config Use MSBuild to set NuGet feeds instead of NuGet.config 2017-11-20 12:15:49 -08:00
NuGetPackageVerifier.json Added a package for generating HTTPS Certificates on CLI first run scenarios 2017-11-15 18:20:17 -08:00
README.md
build.cmd
build.sh
korebuild-lock.txt
korebuild.json
run.cmd
run.ps1
run.sh
version.props

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