Skip to content

Commit a0eddf1

Browse files
committed
Added support for VS 2026
1 parent 286317f commit a0eddf1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Build/Build.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ if(Test-Path .\Output) {
99
mkdir .\Output
1010
}
1111

12+
#VS 2026
13+
$msbuild = "c:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Current\Bin\MSBuild.exe"
14+
1215
# Visual Studio 2022
13-
$msbuild = "c:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe";
16+
if (-Not $(Test-Path $msbuild)) {
17+
$msbuild = "c:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe";
18+
}
1419

1520
# github old build agent 2019, because the lastest doesnt contain dotnet 4 tool
1621
if (-Not $(Test-Path $msbuild)) {

0 commit comments

Comments
 (0)