Go to file
Nate McMaster 3c20e7c45b Update the artifact type for the JSON manifest file
[ci skip]
2017-12-20 13:51:01 -08:00
build Update the artifact type for the JSON manifest file 2017-12-20 13:51:01 -08:00
samples/dotnet-watch Upgrade CLI tools to .NET Core 2.1 2017-12-12 14:37:47 -08:00
shared
…
src Rename dotnet-developercertificates to dotnet-dev-certs (#371) 2017-12-12 15:56:48 -08:00
test Upgrade CLI tools to .NET Core 2.1 2017-12-12 14:37:47 -08:00
testWorkDir
…
tooling Mark the SecretManager VSIX as IsProductComponent=true 2017-12-20 13:37:56 -08:00
.appveyor.yml
…
.editorconfig
…
.gitattributes
…
.gitignore
…
.travis.yml
…
CONTRIBUTING.md
…
Directory.Build.props Upgrade CLI tools to .NET Core 2.1 2017-12-12 14:37:47 -08:00
Directory.Build.targets Upgrade CLI tools to .NET Core 2.1 2017-12-12 14:37:47 -08:00
DotNetTools.sln
…
LICENSE.txt
…
NuGet.config
…
NuGetPackageVerifier.json Upgrade CLI tools to .NET Core 2.1 2017-12-12 14:37:47 -08:00
README.md
…
build.cmd
…
build.sh
…
korebuild-lock.txt Update dependencies and add the VSIX to the bill of materials 2017-12-20 11:31:30 -08:00
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