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

New Post: BTDF BRE Rules w r t each different regions

$
0
0
Hi,

I have a requirement where in i will be having different set of policy-vocobulary.XML w r t DEV, SIT, UAR and PROD and i need to select these respective XMLs based on the region where i will be deploying the application.

The XMLS are named as : projectname.Rules.DEV.xml, projectname.Rules.SIT.xml and so on.

I tried to add the these XMLS as an additional files and pre-process. this creates the policy-vocobulary.XML into the MAIN folder but from there i am missing the link on hot get these w r t the regions.


<ItemGroup>
<AdditionalFiles Include="projectname.Rules.DEV.xml">
  <LocationPath>..\VocabulariesAndRules\</LocationPath>
</AdditionalFiles>
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="projectname.Rules.SIT.xml">
  <LocationPath>..\VocabulariesAndRules\</LocationPath>
</AdditionalFiles>
</ItemGroup>


<ItemGroup>
<FilesToXmlPreprocess Include="projectname.Rules.DEV.xml">
  <LocationPath>..\</LocationPath>
</FilesToXmlPreprocess>
</ItemGroup>


<ItemGroup>
<RulePolicies Include="projectname.Rules.DEV.xml">
  <LocationPath>..\VocabulariesAndRules\</LocationPath>
</RulePolicies>
</ItemGroup>


<Target Name="CopyXMLPreprocessedPoliciesToBRE" AfterTargets="PreprocessFiles">
<copy sourceFiles="..\projectname.Rules.DEV.xml" DestinationFolder="..\BRE\Policies"/>
</Target>


Thanks,
Mruthunjaya J

Viewing all articles
Browse latest Browse all 1089

Trending Articles



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