wix - Set location of binaries in wixproj file -


i using wix 3.9 , when run continuous integration build in tfs error heat.exe: directory not found because tfs putting binaries in different location local machine, project build locally not on tfs.

in wixproj file have location set binaries works locally dir=$(solutiondir)\projectname\bin\$(configuration). there can set find binaries both on local machine , tfs?

i looking project reference variable $(var.myproject.targetdir), doesn't seem work in wixproj files.

i worked around issue changing project files output binaries same location team foundation build. way both desktop , continuous integration builds can use same reference common binaries directory.

if using team foundation build 2012 or earlier directory reference be: dir=$(solutiondir)..\binaries\$configuration. corresponding output path in c# project ..\..\binaries\release or ..\..\binaries\debug (assuming project folder located in root of sources directory).

if using team foundation build 2013, same technique can used, binaries folder becomes bin. directory reference becomes: dir=$(solutiondir)..\bin\$configuration. similar change required project output folders.

team foundation build 2013 has additional options control output location, can put output binaries in same layout project structure. i've not used might provide solution.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -