Go to file
Nate McMaster 3dd029a8b5 Simplify the MSBuild targets in dotnet-watch
Use CustomAfterMicrosoftCommonTargets instead of MSBuildProjectExtensionsPath.
 - No more need to write to obj/$(Project).g.dotnetwatch.targets
 - Works on project that have changed default file locations via BaseIntermediateOutputPath

Simplify DotNetWatch targets
 - Condense to one targets file
 - Simplify dependency chain of targets
 - Build project references in a parallel
2017-09-26 11:59:29 -07:00
build Use PackageLineup to manage PackageReference versions 2017-08-28 09:46:47 -07:00
samples/dotnet-watch
shared
src Simplify the MSBuild targets in dotnet-watch 2017-09-26 11:59:29 -07:00
test Simplify the MSBuild targets in dotnet-watch 2017-09-26 11:59:29 -07:00
testWorkDir Use PackageLineup to manage PackageReference versions 2017-08-28 09:46:47 -07:00
.appveyor.yml
.editorconfig
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
Directory.Build.props Simplify the MSBuild targets in dotnet-watch 2017-09-26 11:59:29 -07:00
Directory.Build.targets Use PackageLineup to manage PackageReference versions 2017-08-28 09:46:47 -07:00
DotNetTools.sln Increase Minimum Version of Visual Studio to 15.3.0 2017-09-21 17:46:42 -07:00
LICENSE.txt
NuGet.config Use PackageLineup to manage PackageReference versions 2017-08-28 09:46:47 -07:00
NuGetPackageVerifier.json
README.md
build.cmd
build.ps1
build.sh
version.xml

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