Skip to content

Commit 6bf53cb

Browse files
Copilottrask
andcommitted
Fix Windows ETW native build by updating Visual Studio path for windows-latest
Co-authored-by: trask <[email protected]>
1 parent 68327c0 commit 6bf53cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etw/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The build should find the tools and Windows SDK, but if needed these environment
1818
* Default: `"%ProgramFiles(x86)%/Windows Kits/10"`
1919
* `APPINSIGHTS_VS_PATH`
2020
* Location of Visual Studio Build Tools
21-
* Default: `%ProgramFiles(x86)%/Microsoft Visual Studio 14.0`
21+
* Default: `%ProgramFiles(x86)%/Microsoft Visual Studio/2022/BuildTools`
2222
* `APPINSIGHTS_WIN_SDK_LIB_PATH`
2323
* Location of Windows 10 SDK library folder (for linker requirements)
2424
* Default: `%APPINSIGHTS_WIN10_SDK_PATH%/Lib/10.0.18362.0/um`

etw/native/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if (System.env.APPINSIGHTS_WIN10_SDK_PATH) {
1313
winSdkDir = System.env.APPINSIGHTS_WIN10_SDK_PATH
1414
logger.info "Windows SDK path set with environment variable, APPINSIGHTS_WIN10_SDK_PATH"
1515
}
16-
def vsToolsDir = "$programFilesX86/Microsoft Visual Studio 14.0"
16+
def vsToolsDir = "$programFilesX86/Microsoft Visual Studio/2022/BuildTools"
1717
if (System.env.APPINSIGHTS_VS_PATH) {
1818
vsToolsDir = System.env.APPINSIGHTS_VS_PATH
1919
logger.info "Visual Studio Build Tools path set with environment variable, APPINSIGHTS_VS_PATH"

0 commit comments

Comments
 (0)