From a6668944619fded3d9562082db775467af156318 Mon Sep 17 00:00:00 2001 From: Arthur van de Vondervoort Date: Wed, 10 Jun 2026 15:59:50 +0200 Subject: [PATCH] fix: upgrade ALCops.Analyzers to v0.8.6 and improve AD0001 handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves #10 — LinterCop analyzer crashed with MissingMethodException when the AL Language extension provides newer BC DevTools than what ALCops.Analyzers v0.5.0 was compiled against. The reflection-based wrapper for QuoteIdentifierIfNeeded was introduced in v0.6.0+. - Bump ALCops.Analyzers from 0.5.0 to 0.8.6 - Log AD0001 (analyzer crash) diagnostics to stderr for debugging while still including them in results - Log BC DevTools version at startup for easier triage - Add Dependabot config scoped to ALCops.Analyzers Co-Authored-By: Claude Opus 4.6 --- .github/dependabot.yml | 8 ++++++++ src/ALCops.Mcp/ALCops.Mcp.csproj | 2 +- src/ALCops.Mcp/Services/BcDevToolsBootstrap.cs | 7 +++++++ src/ALCops.Mcp/Services/DiagnosticsRunner.cs | 3 +++ 4 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8d2baeb --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + - package-ecosystem: nuget + directory: /src/ALCops.Mcp + schedule: + interval: weekly + allow: + - dependency-name: ALCops.Analyzers diff --git a/src/ALCops.Mcp/ALCops.Mcp.csproj b/src/ALCops.Mcp/ALCops.Mcp.csproj index a8a3447..6e549f9 100644 --- a/src/ALCops.Mcp/ALCops.Mcp.csproj +++ b/src/ALCops.Mcp/ALCops.Mcp.csproj @@ -26,7 +26,7 @@ - +