vsts - How can I set the build destination in Team Services for WIX -
i using windows installer xml , project moves team services.
however, paths wont work anymore , need update setup.
on local build machine used hardlink: c:\projects\solution\project\bin\release\assembly.dll
my question: best way build 4 projects , run 5th project, uses assemblies in bin/release directory?
add reference project , use $(var.project.targetpath) instead of hardlink (or $(var.project.targetdir)assembly.dll). references add dependencies on projects wixproj means must build before wixproj binaries exist. projects should included in same solution wixproj.
here's resource automatically defined compile time variables can use http://wixtoolset.org/documentation/manual/v3/votive/votive_project_references.html
alternatively if can't way can define variables in <defineconstants> of wixproj. "projectdir=$(msbuildthisfiledirectory)..\project\bin\release\" , in wix component using sourcedir hardlink use sourcedir=$(var.projectdir)assembly.dll
all of stuff taking advantage of msbuild. takes long time wrap head around how msbuild works worth if using visual studio build projects.
Comments
Post a Comment