Aside from a complicated workaround, there is no straightforward way to make this work. It will be somewhat easier in v6.0 in the future. Normally you could define separate ItemGroup's with a Condition attribute to check the specific environment, and define that variable in the settings spreadsheet. However, that won't work pre-v6.0 due to MSBuild's order of property and item evaluation. Even if that worked, the MSI packaging would break because it wouldn't know where to find all of the files for all of the environments. It looks for a set of RulePolicies items to derive the paths.
Sorry that I don't have a better answer.
Thanks,
Tom
Sorry that I don't have a better answer.
Thanks,
Tom