File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,13 +87,26 @@ jobs:
8787 & $vsInstaller modify `
8888 --installPath "$installPath" `
8989 --add Microsoft.VisualStudio.Component.VC.ATL `
90+ --add Microsoft.VisualStudio.Component.VC.ATLMFC `
9091 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64 `
92+ --add Microsoft.VisualStudio.Component.VC.MFC.ARM64 `
93+ --add Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL `
94+ --add Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC `
95+ --add Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM64 `
96+ --add Microsoft.VisualStudio.Component.VC.14.29.16.11.MFC.ARM64 `
9197 --quiet --norestart --wait
9298
9399 if ($LASTEXITCODE -ne 0) {
94100 throw "Visual Studio component installation failed with exit code $LASTEXITCODE"
95101 }
96102
103+ $atlHeaders = Get-ChildItem -Path (Join-Path $installPath "VC\Tools\MSVC") -Filter atlbase.h -Recurse -ErrorAction SilentlyContinue
104+ if (-not $atlHeaders) {
105+ throw "ATL headers are still missing after component installation"
106+ }
107+
108+ $atlHeaders | Select-Object -ExpandProperty FullName
109+
97110 - name : Setup devcmd
98111 uses : ilammy/msvc-dev-cmd@v1
99112
You can’t perform that action at this time.
0 commit comments