diff --git a/src/NuGet.Clients/NuGet.PackageManagement.UI/Models/PackageSolutionDetailControlModel.cs b/src/NuGet.Clients/NuGet.PackageManagement.UI/Models/PackageSolutionDetailControlModel.cs index 4dcf33bc773..c18eb4517e8 100644 --- a/src/NuGet.Clients/NuGet.PackageManagement.UI/Models/PackageSolutionDetailControlModel.cs +++ b/src/NuGet.Clients/NuGet.PackageManagement.UI/Models/PackageSolutionDetailControlModel.cs @@ -612,7 +612,7 @@ private void BatchUpdateIsSelectedBasedOnInstalledVersion() { foreach (PackageInstallationInfo project in Projects) { - project.IsSelected = project.InstalledVersion != null; + project.IsSelected = project.InstalledVersion != null && project.PackageLevel.Equals(PackageLevel.TopLevel); } } finally