Search code examples
tfsazure-pipelinestfs-2015azure-pipelines-build-taskazure-devops-server-2019

Where does the Azure DevOps/TFS cache extensions data


I have developed Azure DevOps extension and published it to marketplace. Recently I have came across mandatory UI changes. While performing dev testing, I have noticed that once I install new extension (with UI changes) it still showing old UI components. For example, let’s say I have string input named “Name” and I have replaced it with “Full Name”. I still see my old input which is “Name”.

Old :

{
            "name": "name",
            "type": "string",
            "label": "Name",
            "required": true            
}

New:

{
            "name": "fullName",
            "type": "string",
            "label": "Full Name",
            "required": true            
}

I removed temp files under below locations, but issue persists.

  • C:\Users\<< User Name >>\AppData\Local\Microsoft\Team Foundation\
  • << Agent Folder >> \ _Work\
  • Windows Temp folder

I have changed the task id (GUID) and it seems resolving this issue. But this is not viable solution as I cannot issue new task id for already published extension.

Due to this reason I believe best option to resolve this issue is deleting cached data. Please let me know, Where does the Azure DevOps / TFS cache it’s extension data?

Thanks in Advance!


Solution

  • Try to clean the browser cache, and check whether you have increase the version number in the task.json.

    Also, try to Delete task -- Save definition -- add task again, which should help.