mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix CI for VS 2022 CI images (#16717)
This commit is contained in:
parent
f44d944b26
commit
2ef5265ead
|
@ -3,6 +3,10 @@
|
||||||
rem Invokes a tool within a Visual Studio prompt
|
rem Invokes a tool within a Visual Studio prompt
|
||||||
rem Uses %PLATFORM% to set architecture of prompt
|
rem Uses %PLATFORM% to set architecture of prompt
|
||||||
|
|
||||||
|
set "vspath=%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise"
|
||||||
|
if exist "%vspath%" goto found
|
||||||
|
set "vspath=%ProgramFiles%\Microsoft Visual Studio\2022\Community"
|
||||||
|
if exist "%vspath%" goto found
|
||||||
set "vspath=%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise"
|
set "vspath=%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise"
|
||||||
if exist "%vspath%" goto found
|
if exist "%vspath%" goto found
|
||||||
set "vspath=%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community"
|
set "vspath=%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community"
|
||||||
|
|
Loading…
Reference in New Issue