Quantcast
Channel: biztalkdeployment Forum Rss Feed
Viewing all articles
Browse latest Browse all 1089

New Post: preprocess BRE vocabulary files error

$
0
0
Thanks Tom,

Excerpt from the log; CopyPolicyTemplate and PreprocessFiles target successfully ran however the policy was not deployed to the database.

Target CopyPolicyTemplate:
                Copying file from "..\CSI.Common.Config.Policy.Template.xml" to "..\BRE\Policies\CSI.Common.Config.Policy.Template.xml".
            
Target PreprocessFiles:
                Clearing file attributes for 'C:\Program Files (x86)\CSI.Common for BizTalk\1.0\CSI.Common.Config.Policy.xml'.
                "C:\Program Files (x86)\CSI.Common for BizTalk\1.0\Deployment\Framework\DeployTools\xmlpreprocess.exe" /f /v /c /noDirectives /i:"..\CSI.Common.Config.Policy.Template.xml" /o:"C:\Program Files (x86)\CSI.Common for BizTalk\1.0\CSI.Common.Config.Policy.xml" /d:CurDir="C:\Program Files (x86)\CSI.Common for BizTalk\1.0" /s:"C:\Program Files (x86)\CSI.Common for BizTalk\1.0\Deployment\EnvironmentSettings\Exported_ITGSettings.xml"
Current btdfproj file settings for the BRE:
<ItemGroup>
    <AdditionalFiles Include="$(ProjectName).Config.Policy.Template.xml">
      <LocationPath>..\$(ProjectName).Policies</LocationPath>
    </AdditionalFiles>
  </ItemGroup>
  <ItemGroup>
    <FilesToXmlPreprocess Include="$(ProjectName).Config.Policy.Template.xml">
      <LocationPath>..\BRE\Policies</LocationPath>
      <OutputFilename>$(ProjectName).Config.Policy.xml</OutputFilename>
    </FilesToXmlPreprocess>
  </ItemGroup>
  <ItemGroup>
    <RulePolicies Include="$(ProjectName).Config.Policy.xml">
      <LocationPath>..\BRE\Policies</LocationPath>
    </RulePolicies>
  </ItemGroup>

  <Target Name="CopyPolicyTemplate" BeforeTargets="PreprocessFiles" Condition="'$(Configuration)' == 'Server'">
    <ItemGroup>
      <PolicyToCopy Include="..\$(ProjectName).Config.Policy.Template.xml" />
    </ItemGroup>

    <Copy DestinationFolder="..\BRE\Policies" SourceFiles="@(PolicyToCopy)" />
  </Target>
Best Regards,
Tahir

Viewing all articles
Browse latest Browse all 1089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>