Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Simplify NuGet CLI reference (#1138)
Browse files Browse the repository at this point in the history
  • Loading branch information
slang25 authored Sep 21, 2021
1 parent 382511f commit 10ad530
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions NuKeeper/NuKeeper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NuGet.CommandLine" Version="5.11.0">
<!-- Warning! This needs to match TfmSpecificPackageFile lower down or packaging will fail -->
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="NuGet.Credentials" Version="5.11.0" />
<PackageReference Include="SimpleInjector" Version="5.3.2" />
<PackageReference Include="SimpleInjector.Integration.ServiceCollection" Version="5.3.0" />
</ItemGroup>
<ItemGroup>
<!-- Ship NuGet CLI -->
<PackageReference Include="NuGet.CommandLine" Version="5.11.0" PrivateAssets="all" ExcludeAssets="all" GeneratePathProperty="true" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NuKeeper.Abstractions\NuKeeper.Abstractions.csproj" />
<ProjectReference Include="..\NuKeeper.AzureDevOps\NuKeeper.AzureDevOps.csproj" />
Expand All @@ -41,7 +40,7 @@
<None Include="..\assets\icon.png" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<TfmSpecificPackageFile Include="$(NuGetPackageRoot)\nuget.commandline\5.11.0\tools\NuGet.exe">
<TfmSpecificPackageFile Include="$(PkgNuGet_CommandLine)\tools\NuGet.exe">
<Pack>true</Pack>
<PackagePath>tools\$(TargetFramework)\any\NuGet.exe</PackagePath>
</TfmSpecificPackageFile>
Expand Down

0 comments on commit 10ad530

Please sign in to comment.