Skip to content

[BUG]: Typo in FileTransform@2 error message: FileTranformationNotEnabled #21020

Open
@grahamfurner

Description

@grahamfurner

New issue checklist

Task name

FileTransform@2

Task version

2.254.0

Issue Description

Repro script:

- task: FileTransform@2
  displayName: 'X'
  inputs:
    folderPath: '$(Build.ArtifactStagingDirectory)/SiteName/**/*.zip'
    enableXmlTransform: true
    xmlTransformationRules: '-transform **/web.Release.config -xml **/web.config'

Notice the error message:
"File Tranformation (sic) is not enabled. Please provide one of the following : XML Tranformation rules or JSON/XML target files for variable substitution."
Notice also that the JSON tag in task.json also has the same typo: Transformation

Acceptance Criteria:
The spelling of the message and tag should be "Transformation"

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

ubuntu-24.04

Relevant log output

Repro script in Description is sufficient

Full task logs with system.debug enabled

Repro script in Description is sufficient

Repro steps

- task: FileTransform@2
      displayName: 'X'
      inputs:
        folderPath: '$(Build.ArtifactStagingDirectory)/SiteName/**/*.zip'
        enableXmlTransform: true
        xmlTransformationRules: '-transform **/web.Release.config -xml **/web.config'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions