diff --git a/src/NuGetUtility/Program.cs b/src/NuGetUtility/Program.cs index 080590d6..280170d6 100644 --- a/src/NuGetUtility/Program.cs +++ b/src/NuGetUtility/Program.cs @@ -128,7 +128,7 @@ private async Task OnExecuteAsync(CancellationToken cancellationToken) IEnumerable? installedPackages = null; try { - installedPackages = projectReader.GetInstalledPackages(p, IncludeTransitive); + installedPackages = projectReader.GetInstalledPackages(p, IncludeTransitive, TargetFramework); } catch (Exception e) {