I am playing around with the TDS task GetFilesToTransform. I want to try and transform files based on an environment variable that is not the current build configuration. The default task definition in C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets is this: <GetFilesToTransform FileExtension="config" SolutionConfig="$(CurrentSolutionConfigurationContents)" Configuration="$(Configuration)" SourceWebProject="$(SourceWebProject)" WebProjectRoot="$(MSBuildProjectDirectory)\$(SourceWebPhysicalPath)" WebProject="$(SourceWebVirtualPath)" Condition="'$(ConfigTransformAvailable)' == 'true'"> <Output TaskParameter="TransformFilesToRemove" ItemName="TransformFilesToRemove"/> <Output TaskParameter="Transforms" ItemName="Transforms"/> </GetFilesToTransform> I assumed that the **Configuration** property would allow me to pass in a different variable and pickup config transforms. I have duplicated this entry and created my own build task that looks like this: <GetFilesToTransform FileExtension="config" SolutionConfig="$(CurrentSolutionConfigurationContents)" Configuration="Local" SourceWebProject="$(SourceWebProject)" WebProjectRoot="$(MSBuildProjectDirectory)\$(SourceWebPhysicalPath)" WebProject="$(SourceWebVirtualPath)" Condition="'$(ConfigTransformAvailable)' == 'true'"> <Output TaskParameter="TransformFilesToRemove" ItemName="TransformFilesToRemove"/> <Output TaskParameter="Transforms" ItemName="Transforms"/> </GetFilesToTransform> I am using **Local** as the configuration. However this task still transforming using the build configuration value of **DEBUG** instead of **Local**. Any suggestions why this happening?