diff --git a/.github/actions/setup-bc-devtools/Marketplace.ps1 b/.github/actions/setup-bc-devtools/Marketplace.ps1
index 5abdc74..a67ea0b 100644
--- a/.github/actions/setup-bc-devtools/Marketplace.ps1
+++ b/.github/actions/setup-bc-devtools/Marketplace.ps1
@@ -55,7 +55,7 @@ $payload = @{
sortOrder = 0
}
)
- assetTypes = @()
+ assetTypes = @( "Microsoft.VisualStudio.Services.VSIXPackage")
flags = 131 # IncludeVersions, IncludeFiles, IncludeAssetUri, see https://github.com/microsoft/vscode/blob/12ae331012923024bedaf873ba4259a8c64db020/src/vs/platform/extensionManagement/common/extensionGalleryService.ts#L86
}
diff --git a/.github/actions/setup-bc-devtools/action.yml b/.github/actions/setup-bc-devtools/action.yml
index 5f80b27..4dbbad3 100644
--- a/.github/actions/setup-bc-devtools/action.yml
+++ b/.github/actions/setup-bc-devtools/action.yml
@@ -19,7 +19,7 @@ runs:
run: |
# Retrieve source Uri from Marketplace
$sourceUri = ${{github.action_path}}/Marketplace.ps1 -Version ${{ inputs.version-number }}
- "source-uri=$sourceUri" | Out-File -FilePath $env:GITHUB_OUTPUT -Append -Encoding utf8
+ echo "source-uri=$sourceUri" >> $env:GITHUB_OUTPUT
- name: Download BC DevTools asset
id: download-bc-devtools-asset
@@ -30,7 +30,7 @@ runs:
run: |
# Download BC DevTools asset
$downloadPath = ${{github.action_path}}/Download-BcDevToolsAsset.ps1 -AssetUri $env:ASSET_URI
- "download-path=$downloadPath" | Out-File -FilePath $env:GITHUB_OUTPUT -Append -Encoding utf8
+ echo "download-path=$downloadPath" >> $env:GITHUB_OUTPUT
- name: Extract BC DevTools asset
shell: pwsh
diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml
index eb99a02..aae84f5 100644
--- a/.github/workflows/build-and-release.yml
+++ b/.github/workflows/build-and-release.yml
@@ -44,17 +44,10 @@ jobs:
**/packages.lock.json
nuget.config
- - name: Setup BC DevTools - netstandard2.1
+ - name: Setup BC DevTools
uses: ./.github/actions/setup-bc-devtools
with:
version-number: '12.0.875970'
- target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools/netstandard2.1'
-
- - name: Setup BC DevTools - net8.0
- uses: ./.github/actions/setup-bc-devtools
- with:
- version-number: '16.0.1463980'
- target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools/net8.0'
- name: Restore
run: dotnet restore src/RoslynTestKit.sln
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml
index 99e3df1..8e30468 100644
--- a/.github/workflows/pull-request.yml
+++ b/.github/workflows/pull-request.yml
@@ -42,17 +42,10 @@ jobs:
**/packages.lock.json
nuget.config
- - name: Setup BC DevTools (netstandard2.1)
+ - name: Setup BC DevTools
uses: ./.github/actions/setup-bc-devtools
with:
version-number: '12.0.875970'
- target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools/netstandard2.1'
-
- - name: Setup BC DevTools (net8.0)
- uses: ./.github/actions/setup-bc-devtools
- with:
- version-number: '16.0.1463980'
- target-path: 'Microsoft.Dynamics.BusinessCentral.Development.Tools/net8.0'
- name: Restore
run: dotnet restore src/RoslynTestKit.sln
diff --git a/src/RoslynTestKit/RoslynTestKit.csproj b/src/RoslynTestKit/RoslynTestKit.csproj
index 46afce3..5606e1f 100644
--- a/src/RoslynTestKit/RoslynTestKit.csproj
+++ b/src/RoslynTestKit/RoslynTestKit.csproj
@@ -18,41 +18,29 @@
-
-
-
-
-
-
False
- ..\..\Microsoft.Dynamics.BusinessCentral.Development.Tools\netstandard2.1\Microsoft.Dynamics.Nav.CodeAnalysis.dll
+ ..\..\Microsoft.Dynamics.BusinessCentral.Development.Tools\Microsoft.Dynamics.Nav.CodeAnalysis.dll
False
False
- ..\..\Microsoft.Dynamics.BusinessCentral.Development.Tools\netstandard2.1\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.dll
+ ..\..\Microsoft.Dynamics.BusinessCentral.Development.Tools\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.dll
False
-
+
+
+
+
+
+
-
-
- False
- ..\..\Microsoft.Dynamics.BusinessCentral.Development.Tools\net8.0\Microsoft.Dynamics.Nav.CodeAnalysis.dll
- False
-
-
- False
- ..\..\Microsoft.Dynamics.BusinessCentral.Development.Tools\net8.0\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.dll
- False
-
\ No newline at end of file