From d4abd870ad9567f460363504984b60835ba107c0 Mon Sep 17 00:00:00 2001 From: Mattias Karlsson Date: Mon, 18 May 2026 12:57:53 +0200 Subject: [PATCH] fix: resolve ClientRuntime NU1608 and align with Devlead.Console update - ARI.TestWeb: pin Microsoft.Rest.ClientRuntime to 2.3.24 (< 3.0.0 required by Microsoft.Azure.Search via Devlead.Statiq) - ARI: bump Microsoft.Extensions.Http (net10.0) to 10.0.8 and Devlead.Console to 2026.5.15.709 - InventoryCommand: make ExecuteAsync protected override per updated command base - InventoryCommandTests: declare command as ICommand --- src/ARI.TestWeb/ARI.TestWeb.csproj | 2 +- src/ARI.Tests/Unit/Commands/InventoryCommandTests.cs | 2 +- src/ARI/ARI.csproj | 4 ++-- src/ARI/Commands/InventoryCommand.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ARI.TestWeb/ARI.TestWeb.csproj b/src/ARI.TestWeb/ARI.TestWeb.csproj index b3948d8..851bbe8 100644 --- a/src/ARI.TestWeb/ARI.TestWeb.csproj +++ b/src/ARI.TestWeb/ARI.TestWeb.csproj @@ -21,7 +21,7 @@ - + diff --git a/src/ARI.Tests/Unit/Commands/InventoryCommandTests.cs b/src/ARI.Tests/Unit/Commands/InventoryCommandTests.cs index 05879ce..6db85d3 100644 --- a/src/ARI.Tests/Unit/Commands/InventoryCommandTests.cs +++ b/src/ARI.Tests/Unit/Commands/InventoryCommandTests.cs @@ -44,7 +44,7 @@ public async Task ExecuteAsync(bool skipTenantOverview, bool includeSiteApplicat ) ); - var command = new InventoryCommand( + ICommand command = new InventoryCommand( cakeContext, logger, tenantService, diff --git a/src/ARI/ARI.csproj b/src/ARI/ARI.csproj index 93d9245..df53ec2 100644 --- a/src/ARI/ARI.csproj +++ b/src/ARI/ARI.csproj @@ -42,11 +42,11 @@ - + - + diff --git a/src/ARI/Commands/InventoryCommand.cs b/src/ARI/Commands/InventoryCommand.cs index 7021cbd..0c664d1 100644 --- a/src/ARI/Commands/InventoryCommand.cs +++ b/src/ARI/Commands/InventoryCommand.cs @@ -22,7 +22,7 @@ public class InventoryCommand : AsyncCommand { "Has-tags", "false" } }; - public override async Task ExecuteAsync(CommandContext context, InventorySettings settings, CancellationToken cancellationToken) + protected override async Task ExecuteAsync(CommandContext context, InventorySettings settings, CancellationToken cancellationToken) { var sw = System.Diagnostics.Stopwatch.StartNew(); var modified = DateTimeOffset.UtcNow;