Shared Environments Settings Files - BTDF/DeploymentFramework GitHub Wiki
Wiki: Home > Tips and Tricks
Requirement
Use a shared Environments Settings spread sheet to hold common settings (hosts, tracking settings, etc) so we don't have to repeat this in all our application environment settings.
Solution
Approach implemented by the BizTalk Factory (which makes use of BTDF):
- Defined another ItemGroup on top of PropsFromEnvSettings, i.e. CommonPropsFromEnvSettings.
- The application-specific properties have precedence over the common ones (this is mainly due to the way xmlpreprocess works).
- The common setting files must be called, by convention, Common.SettingsFileGenerator.xml.
See lines 217 to 333, just after the "Common & Specific Settings Files" banner, in file BizTalk.Factory.Deployment.targets.
References:
- Original Source: https://biztalkdeployment.codeplex.com/workitem/10324
- BizTalk Factory: https://biztalkfactory.codeplex.com