Browse files

Fixed nuget pm ui to not filter package's versions for build integrat…

…ed projects since allowedVersions is only applicable for packages.config

Fix NuGet/Home#3046
  • Loading branch information...
jainaashish committed Jun 28, 2016
1 parent 18f258a commit 73a6c6db7786599581276326ad11cf615d961e22
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/NuGet.Clients/PackageManagement.UI/Models/DetailControlModel.cs
@@ -80,7 +80,10 @@ public virtual void CleanUp()
_projectVersionRangeDict = new Dictionary<string, VersionRange>(StringComparer.OrdinalIgnoreCase);
foreach (var project in _nugetProjects)
// filter project.json based projects since allowedVersion is only applicable to packages.config
var packagesConfigProjects = _nugetProjects.Where(project => !(project is INuGetIntegratedProject));
foreach (var project in packagesConfigProjects)
// cache allowed version range for each nuget project for current selected package
var packageReference = (await project.GetInstalledPackagesAsync(CancellationToken.None))

0 comments on commit 73a6c6d

Please sign in to comment.