tfs - Using $(outdir) in VSO after the build -
using visualstudio.com hosted tfs:
how access $(outdir) of build in batch file run after build completed? setting build agent , repository else, , code not mine don't want have change build definition, access output folder specified in code post-build batch file.
see image link below. "visual studio build" step uses different $(outdir) construction based on build platform , configuration.
i need able access folder in batch script step without modifying build.
build steps screenshot
specify outdir in msbuild argument achieve things want more easily.
since don't want change build definition, can use "buildconfiguration" , "buildplatform" variables when output path based on build platform , configuration.
in case, output path should following:
$(build.sourcesdirectory)/logbinder$(productabbrev)/resources/mtg.logbinder.$(productabbrev)/bin/$(buildplatform)/$(buildconfiguration)
Comments
Post a Comment