[Archived] Various .NET command line tools. Project moved to https://github.com/aspnet/AspNetCore
Перейти к файлу
John Luo 229875641c Reset versions.props 2018-03-28 02:07:39 -07:00
build Update core dependencies - Apr 2018 2018-03-28 02:02:36 -07:00
shared Simplify console output and fix color output on CMD 2017-04-11 14:45:52 -07:00
src Update core dependencies - Apr 2018 2018-03-28 02:02:36 -07:00
test Remove redundant calls to .OrTimeout() 2017-08-22 16:02:46 -07:00
.editorconfig Fix package path issues 2017-02-03 10:15:28 -08:00
.gitattributes dnx-watch -> dotnet-watch 2016-02-16 15:33:20 -08:00
.gitignore Build with MSBuild 2016-12-12 15:55:00 -08:00
.travis.yml Update travis and appveyor build settings to include rel branches 2017-04-11 14:54:36 -07:00
CONTRIBUTING.md Create CONTRIBUTING.md 2015-09-17 08:39:00 -07:00
DotNetTools.sln Fix mispaired solution configurations 2017-02-10 19:35:36 -08:00
LICENSE.txt Update LICENSE.txt 2015-09-17 08:38:38 -07:00
NuGet.config Add the tools feed back to NuGet.config 2017-08-21 17:59:27 -07:00
NuGetPackageVerifier.json Cleanup project files and workaround, run tests on .NET Core 1.1 2017-02-10 08:26:17 -08:00
README.md Add install instructions to README.md 2017-02-27 11:00:04 -08:00
appveyor.yml Update travis and appveyor build settings to include rel branches 2017-04-11 14:54:36 -07:00
build.cmd Return the error code from build.cmd 2016-02-28 10:12:21 -08:00
build.ps1 Update build script to set TLS version 2018-03-26 12:40:37 -07:00
build.sh Update package verion to 1.0.1 rtm and pin build dependencies and tools 2017-04-11 14:34:07 -07:00
global.json Update package verion to 1.0.1 rtm and pin build dependencies and tools 2017-04-11 14:34:07 -07:00
version.props Reset versions.props 2018-03-28 02:07:39 -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