Skip to content

Commit 017e3c2

Browse files
committed
Working directory
1 parent 36cd99f commit 017e3c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ci_build/github/azure-pipelines/templates/py-win-cpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ jobs:
108108
- task: VSBuild@1
109109
displayName: 'Build'
110110
inputs:
111-
solution: '$(Build.BinariesDirectory)\${{ parameters.cmake_build_type }}\onnxruntime.sln'
111+
solution: '$(Build.SourcesDirectory)\${{ parameters.cmake_build_type }}\onnxruntime.sln'
112112
platform: '${{parameters.ARCHITECTURE}}'
113113
configuration: ${{ parameters.cmake_build_type }}
114114
msbuildArchitecture: '${{parameters.ARCHITECTURE}}'
115115
maximumCpuCount: true
116116
logProjectEvents: true
117-
workingFolder: '$(Build.BinariesDirectory)\${{ parameters.cmake_build_type }}'
117+
workingFolder: '$(Build.SourcesDirectory)\${{ parameters.cmake_build_type }}'
118118
createLogFile: true
119119

120120
- ${{if or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/rel-'))}}:

0 commit comments

Comments
 (0)