Skip to content

Commit 3b7c854

Browse files
authored
Update CI build workflow to install VS 2026 Build Tools via Choco as workaround until fully supported
Comment out MSBuild setup step and add installation for Visual Studio 2026 Build Tools via choco
1 parent ff60536 commit 3b7c854

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/cibuild.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,17 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v4
3636

37-
- name: Add MSBuild to PATH
38-
uses: microsoft/setup-msbuild@v2.0.0
39-
with:
40-
vs-version: 'latest'
41-
vs-prerelease: true
37+
# - name: Add MSBuild to PATH
38+
# uses: microsoft/setup-msbuild@v2.0.0
39+
# with:
40+
# vs-version: 'latest'
41+
# vs-prerelease: true
42+
- name: Install Visual Studio 2026 Build Tools
43+
shell: pwsh
44+
run: |
45+
Write-Host "Installing VS 2026 Build Tools..."
46+
choco install visualstudio2026buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --includeRecommended --quiet" -y --ignore-package-exit-codes=3010
47+
Write-Host "VS 2026 Build Tools installation completed"
4248
4349
- name: Clear NuGet cache
4450
run: nuget locals all -clear

0 commit comments

Comments
 (0)