This commit is contained in:
Chet Husk 2024-03-12 16:00:54 -05:00
Родитель e372839b99
Коммит 4ab98ab183
2 изменённых файлов: 4 добавлений и 5 удалений

Просмотреть файл

@ -20,14 +20,14 @@ namespace Microsoft.DotNet.Tools.Uninstall.Shared.Commands
{
internal static class ListCommandExec
{
public static int Execute(IBundleCollector bundleCollector)
public static void Execute(IBundleCollector bundleCollector)
{
return Execute(
Execute(
bundleCollector.GetAllInstalledBundles(),
bundleCollector.GetSupportedBundleTypes());
}
private static int Execute(
private static void Execute(
IEnumerable<Bundle> bundles,
IEnumerable<BundleTypePrintInfo> supportedBundleTypes)
{
@ -66,8 +66,6 @@ namespace Microsoft.DotNet.Tools.Uninstall.Shared.Commands
stackView.Render(
new ConsoleRenderer(new SystemConsole()),
new Region(0, 0, int.MaxValue, int.MaxValue));
return 0;
}
public static Dictionary<BundleTypePrintInfo, Dictionary<Bundle, string>> GetFilteredBundlesWithRequirements(

Просмотреть файл

@ -6,6 +6,7 @@
<_PublishSingleFileForRid Condition="'$(RID)' == 'win-x86'">false</_PublishSingleFileForRid>
<_GenerateLayoutDependsOnTargets>CleanLayoutPath;PublishDotnetCoreUninstallProject</_GenerateLayoutDependsOnTargets>
<_GenerateLayoutDependsOnTargets Condition="'$(RID)' == 'win-x86'">CleanLayoutPath;PublishDotnetCoreUninstallProject;SignLayout</_GenerateLayoutDependsOnTargets>
</PropertyGroup>
<Target Name="CleanLayoutPath">