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>
<ItemGroup>
<ItemGroup>
<ItemGroup>
<Target Name="CopyXMLPreprocessedPoliciesToBRE" AfterTargets="PreprocessFiles">
Thanks,
Mruthunjaya J
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