This project has moved and is read-only. For the latest updates, please go here.

BRE Policy Deployment using BTDF

Topics: General Questions, Server Deployment
May 28, 2014 at 10:08 PM

I have a specific scenario where i need to deploy BRE Policy with respect to environment.

I have all 3 policies under solution folder , i have to instruct the BTDF to deploy the appropriate policy for the environment.

Can somebody help me how to update the .btdfproj to preform above operation.

I have working BTDF with single BRE Policy files.
May 29, 2014 at 6:34 AM
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.

May 29, 2014 at 4:31 PM
Thank You for your quick response.