The project variable approach (i.e. $(var.ProjectName.TargetDir) only seems to work if the projects are in the same solution. I have two solutions, the installer project in one and the DB project in the other. I've come up with a workaround by making a special case for the build server, but I was hoping for a cleaner method:
<?if $(env.ComputerName) = "MYBUILDSERVER"?> <?define DBProjectOutputDir = "$(var.TargetDir)"?> <?else?> <?define DBProjectOutputDir = "..\..\MyDatabaseSolution\MyDatabaseProject\sql\"?> <?endif?> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-and-TFS-Build-tp5019254p5030829.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users