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: dalemac89 **
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: dalemac89 **
Hi, thanks for the response.
Yes, I am building in Visual Studio via Tools -> Deployment Framework for BizTalk -> Deploy BizTalk Solution.
Yes, the LocationPath is relative, like so:
```
<RulePolicies Include="Property.Policy.xml">
<LocationPath>..\$(ProjectName).Deployment\Policies\Localhost</LocationPath>
</RulePolicies>
```
It is the exact same format that is used to load schemas, itineraries, etc, and they all work fine.
Thanks,
Dale