ctaggart / SourceLink

Source Code On Demand
MIT License
356 stars 55 forks source link

remove dotnet-sourcelink as replaced by global tool #350

Closed ctaggart closed 6 years ago

ctaggart commented 6 years ago

replaced by global tool #349

ctaggart commented 6 years ago

https://natemcmaster.com/blog/2018/05/12/dotnet-global-tools/

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <ToolCommandName>sourcelink</ToolCommandName>
    <PackAsTool>True</PackAsTool>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.2.3" />
  </ItemGroup>

</Project>
ctaggart commented 6 years ago

It wasn't hard to port it. https://www.nuget.org/packages/SourceLink/3.0.0-build.732

dotnet tool install -g sourcelink --version 3.0.0-build.732