{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/16","repository_url":"https://api.github.com/repos/Microsoft/tfs-cli","labels_url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/16/comments","events_url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/16/events","html_url":"https://github.com/Microsoft/tfs-cli/issues/16","id":100518762,"number":16,"title":"Add command for clearing build task cache","user":{"login":"pascalberger","id":2190718,"avatar_url":"https://avatars.githubusercontent.com/u/2190718?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalberger","html_url":"https://github.com/pascalberger","followers_url":"https://api.github.com/users/pascalberger/followers","following_url":"https://api.github.com/users/pascalberger/following{/other_user}","gists_url":"https://api.github.com/users/pascalberger/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalberger/subscriptions","organizations_url":"https://api.github.com/users/pascalberger/orgs","repos_url":"https://api.github.com/users/pascalberger/repos","events_url":"https://api.github.com/users/pascalberger/events{/privacy}","received_events_url":"https://api.github.com/users/pascalberger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-12T10:58:33Z","updated_at":"2016-05-19T14:51:16Z","closed_at":"2015-08-12T12:29:01Z","body":"It seems like VSO has a cache for build tasks, since if an updated version of the same build task is uploaded to the same tenant, VSO still takes the old version. Even after a Delete and a new Upload.\r\n\r\nThe only solution at the moment to have changes taking effect during development is by increasing the patch version. This is not ideal since this messes with the released version number (especially if multiple developers work parallel on the same task)\r\n\r\nIt would be helpful if tfx could provide a command for clearing the build task cache.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/comments/220348291","html_url":"https://github.com/Microsoft/tfs-cli/issues/16#issuecomment-220348291","issue_url":"https://api.github.com/repos/Microsoft/tfs-cli/issues/16","id":220348291,"user":{"login":"bryanmacfarlane","id":919564,"avatar_url":"https://avatars.githubusercontent.com/u/919564?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmacfarlane","html_url":"https://github.com/bryanmacfarlane","followers_url":"https://api.github.com/users/bryanmacfarlane/followers","following_url":"https://api.github.com/users/bryanmacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/bryanmacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmacfarlane/subscriptions","organizations_url":"https://api.github.com/users/bryanmacfarlane/orgs","repos_url":"https://api.github.com/users/bryanmacfarlane/repos","events_url":"https://api.github.com/users/bryanmacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmacfarlane/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T14:51:16Z","updated_at":"2016-05-19T14:51:16Z","body":"No, it's by design.\r\n\r\nThe version is an immutable identifier of that version of the code.  If you changed the code, then you should bump the version."}}