Skip to content

Commit

Permalink
Update nbgv's NuGet dependency to 5.11.0
Browse files Browse the repository at this point in the history
Fixes #588
  • Loading branch information
AArnott committed Sep 23, 2021
1 parent 5e7a00e commit 2b80c11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nbgv/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ private static async Task<string> GetLatestPackageVersionAsync(string packageId,
var providers = new List<Lazy<INuGetResourceProvider>>();
providers.AddRange(Repository.Provider.GetCoreV3()); // Add v3 API support

var sourceRepositoryProvider = new SourceRepositoryProvider(settings, providers);
var sourceRepositoryProvider = new SourceRepositoryProvider(new PackageSourceProvider(settings), providers);

// Select package sources based on NuGet.Config files or given options, as 'nuget.exe restore' command does
// See also 'DownloadCommandBase.GetPackageSources(ISettings)' at https://github.com/NuGet/NuGet.Client/blob/dev/src/NuGet.Clients/NuGet.CommandLine/Commands/DownloadCommandBase.cs
Expand Down
3 changes: 1 addition & 2 deletions src/nbgv/nbgv.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NuGet.PackageManagement" Version="4.9.3" NoWarn="NU1701" />
<PackageReference Include="NuGet.Resolver" Version="4.9.3" />
<PackageReference Include="NuGet.PackageManagement" Version="5.11.0" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20574.7" />
<PackageReference Include="Nerdbank.GitVersioning.LKG" Version="3.4.173-alpha" PrivateAssets="all" />
<PackageReference Include="System.Diagnostics.Tools" Version="4.3.0" />
Expand Down

0 comments on commit 2b80c11

Please sign in to comment.