From 94b6d2607bd5533c9399c346b1605a5708f1302b Mon Sep 17 00:00:00 2001 From: Arthur van de Vondervoort Date: Sat, 19 Sep 2026 13:21:30 +0200 Subject: [PATCH 1/2] chore: bump net10.0 DevTools to marketplace 18.0.2726309 Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/build-and-release.yml | 3 +-- .github/workflows/pull-request.yml | 2 +- CLAUDE.md | 2 +- src/RoslynTestKit/RoslynTestKit.csproj | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 20299b8..5a3d7e3 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -57,11 +57,10 @@ jobs: version-number: '16.0.1463980' target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net8.0' - # TODO: Bump version when net10.0 is released on marketplace - name: Setup BC DevTools - net10.0 uses: ./.github/actions/setup-bc-devtools with: - version-number: '17.0.2273547' + version-number: '18.0.2726309' target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net10.0' - name: Restore diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3f643af..fa983a4 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -57,7 +57,7 @@ jobs: - name: Setup BC DevTools - net10.0 uses: ./.github/actions/setup-bc-devtools with: - version-number: '17.0.2273547' + version-number: '18.0.2726309' target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net10.0' - name: Restore diff --git a/CLAUDE.md b/CLAUDE.md index 74549a1..40ce066 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -30,7 +30,7 @@ gitignored folders under `Microsoft.Dynamics.BusinessCentral.Development.Tools/` |---|---|---|---| | netstandard2.1 | netstandard2.0 | 12.0.779795 | 12.0.11.58921 | | net8.0 | net8.0 | 16.0.1463980 | 16.0.22.22232 | -| net10.0 | net10.0 | 17.0.2273547 | (not yet recorded) | +| net10.0 | net10.0 | 18.0.2726309 | 18.0.41.39415 | Note the deliberate netstandard2.1 TFM to netstandard2.0 folder mismatch. To fetch DLLs locally, run the scripts in `.github/actions/setup-bc-devtools/` (`Marketplace.ps1`, diff --git a/src/RoslynTestKit/RoslynTestKit.csproj b/src/RoslynTestKit/RoslynTestKit.csproj index 0ca91bc..56d84b9 100644 --- a/src/RoslynTestKit/RoslynTestKit.csproj +++ b/src/RoslynTestKit/RoslynTestKit.csproj @@ -65,8 +65,7 @@ - - + From cd7a2c86b87f2b61bc43028e770c7226c7deb4d4 Mon Sep 17 00:00:00 2001 From: Arthur van de Vondervoort Date: Sat, 19 Sep 2026 13:24:55 +0200 Subject: [PATCH 2/2] fix: handle v18 VSIX structure change (DLLs moved from Analyzers to bin) Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/actions/setup-bc-devtools/action.yml | 6 +++++- .github/workflows/build-and-release.yml | 1 + .github/workflows/pull-request.yml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-bc-devtools/action.yml b/.github/actions/setup-bc-devtools/action.yml index 4dbbad3..0d16674 100644 --- a/.github/actions/setup-bc-devtools/action.yml +++ b/.github/actions/setup-bc-devtools/action.yml @@ -9,6 +9,10 @@ inputs: description: Target path to extract files required: false default: Microsoft.Dynamics.BusinessCentral.Development.Tools + path-in-archive: + description: Subfolder inside the VSIX to extract (v18+ moved DLLs from extension/bin/Analyzers to extension/bin) + required: false + default: extension/bin/Analyzers runs: using: composite @@ -42,4 +46,4 @@ runs: # Extract BC DevTools asset Write-Output "Extracting $($env:ARCHIVE_PATH)..." - & "$env:ACTION_PATH\Extract-RequiredFiles.ps1" -DestinationPath $env:TARGET_PATH -ArchivePath $env:ARCHIVE_PATH -PathInArchive 'extension/bin/Analyzers' + & "$env:ACTION_PATH\Extract-RequiredFiles.ps1" -DestinationPath $env:TARGET_PATH -ArchivePath $env:ARCHIVE_PATH -PathInArchive '${{ inputs.path-in-archive }}' diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 5a3d7e3..138529b 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -62,6 +62,7 @@ jobs: with: version-number: '18.0.2726309' target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net10.0' + path-in-archive: 'extension/bin' - name: Restore run: dotnet restore src/RoslynTestKit.sln diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index fa983a4..4178910 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -59,6 +59,7 @@ jobs: with: version-number: '18.0.2726309' target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools\net10.0' + path-in-archive: 'extension/bin' - name: Restore run: dotnet restore src/RoslynTestKit.sln