Hi,
I am deploying a project and everything except policies is being deployed. In my .btdfproj file i have:
```
<IncludeVocabAndRules>True</IncludeVocabAndRules>
<ExplicitlyDeployRulePoliciesOnDeploy>True</ExplicitlyDeployRulePoliciesOnDeploy>
```
And later when adding policies:
```
<ItemGroup>
<RulePolicies Include="example_policy_1.xml">
<LocationPath>path_to_policy_folder</LocationPath>
</RulePolicies>
<RulePolicies Include="example_policy_2.xml">
<LocationPath>path_to_policy_folder</LocationPath>
</RulePolicies>
</ItemGroup>
```
The project builds without error, but no policies are deployed. In the output, there is nothing related to DeployBTRules, so it seems like it isn't even trying to deploy the rules.
Any help would be appreciated.
Thanks,
Dale
Comments: ** Comment from web user: tfabraham **
I am deploying a project and everything except policies is being deployed. In my .btdfproj file i have:
```
<IncludeVocabAndRules>True</IncludeVocabAndRules>
<ExplicitlyDeployRulePoliciesOnDeploy>True</ExplicitlyDeployRulePoliciesOnDeploy>
```
And later when adding policies:
```
<ItemGroup>
<RulePolicies Include="example_policy_1.xml">
<LocationPath>path_to_policy_folder</LocationPath>
</RulePolicies>
<RulePolicies Include="example_policy_2.xml">
<LocationPath>path_to_policy_folder</LocationPath>
</RulePolicies>
</ItemGroup>
```
The project builds without error, but no policies are deployed. In the output, there is nothing related to DeployBTRules, so it seems like it isn't even trying to deploy the rules.
Any help would be appreciated.
Thanks,
Dale
Comments: ** Comment from web user: tfabraham **
I'm making the assumption that you are using a stock, unmodified BTDF v5.5, and that you're on at least BizTalk 2010.
Please add this to your .btdfproj near the end and capture the results.
``` xml
<Target Name="PreDeployVocabAndRules" AfterTargets="ImportBindings">
<Message Text="IncludeVocabAndRules = '$(IncludeVocabAndRules)'" />
<Message Text="RulePolicies = '@(RulePolicies)'" />
<Message Text="RuleVocabularies = '@(RuleVocabularies)'" />
<Message Text="RulePoliciesQualified = '@(RulePoliciesQualified)'" />
<Message Text="RuleVocabulariesQualified = '@(RuleVocabulariesQualified)'" />
</Target>
```