Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/actions/setup-bc-devtools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}'
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ 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'
path-in-archive: 'extension/bin'

- name: Restore
run: dotnet restore src/RoslynTestKit.sln
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ 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'
path-in-archive: 'extension/bin'

- name: Restore
run: dotnet restore src/RoslynTestKit.sln
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down
3 changes: 1 addition & 2 deletions src/RoslynTestKit/RoslynTestKit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@
</Reference>
</ItemGroup>

<!-- TODO: Bump version when net10.0 is released on marketplace -->
<!-- ms-dynamics-smb.al-17.0.2273547 -->
<!-- ms-dynamics-smb.al-18.0.2726309 with AssemblyFileVersion 18.0.41.39415 -->
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageReference Include="ApprovalTests" Version="7.0.0"
ExcludeAssets="build;buildTransitive" />
Expand Down
Loading