This commit is contained in:
Heath Stewart
2020-04-04 11:50:17 -07:00
parent f486e795bf
commit f6890ff843
2 changed files with 4 additions and 4 deletions

View File

@ -16,11 +16,11 @@ const VSWHERE_PATH =
// if a specific version of VS is requested
let VSWHERE_EXEC =
'-products * -requires Microsoft.Component.MSBuild -property installationPath'
'-products * -requires Microsoft.Component.MSBuild -property installationPath '
if (VS_VERSION === 'latest') {
VSWHERE_EXEC += '-latest '
} else {
VSWHERE_EXEC += `-version ${VS_VERSION} `
VSWHERE_EXEC += `-version "${VS_VERSION}" `
}
core.debug(`Execution arguments: ${VSWHERE_EXEC}`)