Ah. Figured it out. It appears that the syntax of the conditional was
incorrect. This works:
Note the absence (despite what it says elsewhere in the documentation) of
the '$(' around the env.IsTfsBuildAgent. This simple little trick makes it
possible to build on either a TFS build agent
I'm trying to set up a wxs script to handle two different conditions,
building a setup on a normal developer's machine and building a setup on a
TFS build agent. The problem is that the TFS build agent copies the products
of a solution to a binaries folder while a normal developer's build does
not.
2 matches
Mail list logo