Skip to content

Commit 087a6ec

Browse files
ArthurvdvCopilot
andauthored
fix: use non-.linux BC DevTools NuGet package (missing CodeAnalysis DLLs) (#19)
The microsoft.dynamics.businesscentral.development.tools.linux package stopped shipping Microsoft.Dynamics.Nav.CodeAnalysis(.Workspaces).dll for v18.0.40.43394-beta, only including the Cop analyzer DLLs. This broke the 'Replace BC DevTools DLLs in test build' step with a cryptic 'cp: cannot stat' error. Switch to the sibling microsoft.dynamics.businesscentral.development.tools package (no .linux suffix), which consistently ships the CodeAnalysis DLLs under tools/net8.0/any/ and tools/net10.0/any/ across versions -- verified against both the broken beta and an older stable version. Both packages publish identical version lists, so no other script changes are needed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d447605 commit 087a6ec

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/build-and-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Setup BC DevTools
4848
run: |
49-
PACKAGE="microsoft.dynamics.businesscentral.development.tools.linux"
49+
PACKAGE="microsoft.dynamics.businesscentral.development.tools"
5050
VERSION="${{ needs.build-and-test.outputs.lowest-version }}"
5151
echo "BC DevTools version: ${VERSION} (lowest, matching test build)"
5252
mkdir -p Microsoft.Dynamics.BusinessCentral.Development.Tools/net8.0

‎.github/workflows/build-test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: matrix
2828
shell: bash
2929
run: |
30-
PACKAGE="microsoft.dynamics.businesscentral.development.tools.linux"
30+
PACKAGE="microsoft.dynamics.businesscentral.development.tools"
3131
VERSIONS_JSON=$(curl -sf "https://api.nuget.org/v3-flatcontainer/${PACKAGE}/index.json")
3232
3333
MATRIX=$(echo "$VERSIONS_JSON" | python3 -c "
@@ -94,7 +94,7 @@ jobs:
9494

9595
- name: Setup BC DevTools
9696
run: |
97-
PACKAGE="microsoft.dynamics.businesscentral.development.tools.linux"
97+
PACKAGE="microsoft.dynamics.businesscentral.development.tools"
9898
VERSION="${{ needs.setup.outputs.lowest-version }}"
9999
echo "Downloading BC DevTools v${VERSION} (lowest) for compilation..."
100100
mkdir -p Microsoft.Dynamics.BusinessCentral.Development.Tools/net8.0
@@ -141,7 +141,7 @@ jobs:
141141

142142
- name: Download BC DevTools v${{ matrix.version }}
143143
run: |
144-
PACKAGE="microsoft.dynamics.businesscentral.development.tools.linux"
144+
PACKAGE="microsoft.dynamics.businesscentral.development.tools"
145145
VERSION="${{ matrix.version }}"
146146
echo "Downloading BC DevTools v${VERSION}..."
147147
mkdir -p /tmp/bcdevtools

0 commit comments

Comments
 (0)