Using the OutputFilename is supposed to write the output next to the source file. That does not seem to work for me, as the result of the processed masterFile is never found in the directory of the masterfile. The result of the processed file (ItenarySelection.xml) can be found in the root of the targetdirectory. I import this policy manually from that directory after deployment. Why is the OutputFilename not created where it is supposed to?
Here is an outline of my script.
<ItemGroup>
<ItemGroup>
<ItemGroup>
Here is an outline of my script.
<ItemGroup>
<AdditionalFiles Include="ItenarySelection.Master.xml">
<LocationPath>..\BRE\VocabAndRules</LocationPath>
</AdditionalFiles>
</ItemGroup><ItemGroup>
<FilesToXmlPreprocess Include="ItenarySelection.Master.xml">
<LocationPath>..\BRE\VocabAndRules</LocationPath>
<OutputFilename>ItenarySelection.xml</OutputFilename>
</FilesToXmlPreprocess>
</ItemGroup><ItemGroup>
<RulePolicies Include="ItenarySelection.xml">
<LocationPath>..\BRE\VocabAndRules</LocationPath>
</RulePolicies>
</ItemGroup>