Lesson learned,
- Use command line from http://blogs.msdn.com/biztalkbre/archive/2007/02/16/sample-deploying-business-rules-programmatically.aspx to export vocabularies and rules to different files. Add this to Buildxxx.msi:
- In deployment file
- turn IncludeVocabAndRules to true
- add entries to files extracted from step 1,
..\..\References\DeployRules /e /v:SharedInterfaceBroker.1.0 .\BRE_Vocabulary.xml
..\..\References\DeployRules /e /p .\BRE_Policy.xml
<RuleVocabularies Include=”BRE_Vocabulary.xml”>
<LocationPath>.\</LocationPath>
</RuleVocabularies>
<RulePolicies Include=”BRE_Policy.xml”>
<LocationPath>.\</LocationPath>
</RulePolicies>
