sayedihashimi / slow-cheetah

XML Transforms for app.config and other XML files
Other
243 stars 54 forks source link

Share Transformation Files #230

Open phototom opened 7 years ago

phototom commented 7 years ago

We have approximately 50 batch jobs that all need to use exactly the same transformation files. While we can duplicate the transform files for all the different batch jobs, this is inefficient.

Is there a way for Slow-Cheetah to use shared transform files? I've tried including the transform files as linked references, but it didn't work.

sayedihashimi commented 7 years ago

I thought linked files worked in a previous release.

phototom commented 7 years ago

I'm using V2.5.1.5. Linked files might have worked, but it didn't for me. Below is manually edited project file linking to the transform file. Removing properly made no changes

    <None Include="..\App.ACC.config">
      <Link>App.ACC.config</Link>
      <DependentUpon>App.config</DependentUpon>
      <IsTransformFile>True</IsTransformFile>
      <SubType>Designer</SubType>
    </None>
    <None Include="App.config">
      <TransformOnBuild>true</TransformOnBuild>
      <SubType>Designer</SubType>
    </None>