[Archived] Various .NET command line tools. Project moved to https://github.com/aspnet/AspNetCore
Перейти к файлу
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 Update the dotnet-watch samples to 2.0.0 2017-11-13 08:49:25 -08:00
shared Fix StackOverflowException caused when creating the watcher on directories from a network share 2017-07-26 17:23:06 -07:00
src Added a package for generating HTTPS Certificates on CLI first run scenarios 2017-11-15 18:20:17 -08:00
test Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
testWorkDir Use PackageLineup to manage PackageReference versions 2017-08-28 09:46:47 -07:00
.appveyor.yml Update bootstrappers 2017-10-09 12:55:24 -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 Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
.travis.yml Adding libunwind8 to .travis.yml 2017-06-26 09:36:15 -07:00
CONTRIBUTING.md Create CONTRIBUTING.md 2015-09-17 08:39:00 -07:00
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 Update LICENSE.txt text 2017-07-03 14:05:27 -07:00
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 Update README to show 2.0.0 as the latest packages 2017-08-25 09:13:43 -07:00
build.cmd Update bootstrappers 2017-10-09 12:55:24 -07:00
build.sh Update bootstrappers 2017-10-09 12:55:24 -07:00
korebuild-lock.txt Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
korebuild.json Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -07:00
run.cmd Update bootstrappers 2017-10-09 12:55:24 -07:00
run.ps1 Update bootstrappers 2017-10-09 12:55:24 -07:00
run.sh Update bootstrappers 2017-10-09 12:55:24 -07:00
version.props Pin tool and package versions to make build more repeatable 2017-10-31 17:33:49 -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="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