tfs - Wix in TFSBuild: SourceCodeControlRoot -


i following recommendations integrate wix tfs (http://wixtoolset.org/documentation/manual/v3/msbuild/daily_builds.html) (without having install on build server)

in wixproj file, have line: $(sourcecodecontrolroot)\wix\3.9\

this has been checked in of prerequisite files - , can build on dev box.

but when run build, tfs complains can't find wix.targets file.

the error states:

*c:\builds\8\appname\dailybuild\sources\setup\case tracking setup\wix case tracking.wixproj (73): imported project "c:\wix\3.9\wix.targets" not found. confirm path in declaration correct, , file exists on disk.

so i'm using wrong reference couldn't find other examples , place sourcecodecontrolroot appears related wix.

any ideas?

thanks

the article intends define or replace $(sourcecodecontrolroot) such $(sourcecodecontrolroot) folder tfs exports during build. in case, i'm guessing "c:\builds\8\appname\dailybuild\". of course, don't want hardcode it. pass property setting msbuild: /property:sourcecodecontrolroot="$(tf_build_builddirectory)"

it doesn't matter have binaries (wix\3.9) folder. end goal have $(wixtoolpath) point it. define relative project file if that's more convenient in project structure:

<wixtoolpath>$(msbuildprojectdirectory)/../wix/3.9/</wixtoolpath> 

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -