From 8f76a73efedd2d783daa0a10cd4a49476346f9a5 Mon Sep 17 00:00:00 2001 From: Chrison Simtian Date: Tue, 30 Jun 2026 13:35:54 +1200 Subject: [PATCH] fix(ci): restore kiota to the tools manifest (CI broken since #11) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The husky-autoinstall change (#11) overwrote .config/dotnet-tools.json with only husky, dropping the microsoft.openapi.kiota entry. But UnifiSharp.Api's build runs `dotnet kiota generate` (Generated/ is gitignored), so every CI build since has failed with "dotnet-kiota does not exist" (MSB3073) — main red since 2026-06-29. Re-pin kiota 1.31.1 (the version that was there) alongside husky. Verified: full clean (rm obj/bin/Generated) → dotnet tool restore → build -c Release regenerates the client and compiles; tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) --- .config/dotnet-tools.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index db9b9d8..23c8507 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -2,6 +2,13 @@ "version": 1, "isRoot": true, "tools": { + "microsoft.openapi.kiota": { + "version": "1.31.1", + "commands": [ + "kiota" + ], + "rollForward": false + }, "husky": { "version": "0.9.1", "commands": [