Skip to content

Commit c96af8a

Browse files
committed
update Script to be compatible with vs2026
1 parent 76e03fc commit c96af8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Build-SampleSet.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ $root = Get-Location
1212

1313
# launch developer powershell (if necessary to prevent multiple developer sessions)
1414
if (-not $env:VSCMD_VER) {
15-
Import-Module (Resolve-Path "$env:ProgramFiles\Microsoft Visual Studio\2022\*\Common7\Tools\Microsoft.VisualStudio.DevShell.dll")
16-
Enter-VsDevShell -VsInstallPath (Resolve-Path "$env:ProgramFiles\Microsoft Visual Studio\2022\*")
15+
Import-Module (Resolve-Path "$env:ProgramFiles\Microsoft Visual Studio\*\*\Common7\Tools\Microsoft.VisualStudio.DevShell.dll")
16+
Enter-VsDevShell -VsInstallPath (Resolve-Path "$env:ProgramFiles\Microsoft Visual Studio\*\*")
1717
Set-Location $root
1818
}
1919

0 commit comments

Comments
 (0)