Git Product home page Git Product logo

Comments (4)

colindembovsky avatar colindembovsky commented on June 12, 2024

Hi @LockTar

Can you please run tfx build tasks list and then trim it to a list of Task ids. Seems like there's an id collision somewhere. You can check the task Ids from my extensions in this source repo (check the task.json files).

from cols-agent-tasks.

LockTar avatar LockTar commented on June 12, 2024

Hi @colindembovsky ,
I know what the issue is.
Apparently other administrators installed an old version of your "assembly versioning" manually when TFS2015 was released. So now there is of course a collision with the new version.

We are not able to manually remove the old version (and install the extension from the marketplace) because that will give a breaking change. This because the new version 2 is using a different "Version Extract Pattern".
What we can do is install an old version of the extension which doesn't have the "Version Extract Pattern" option but "Build Regex Pattern" to "\d+.\d+.\d+.\d+".
After we installed that version of the extension we can update the extension to the latest version. In that way, people can change the version of the task it self in the right upper corner of the task in the build definition.

Do you have a place where I can download an old version of the extension with version 0.* inside?

from cols-agent-tasks.

colindembovsky avatar colindembovsky commented on June 12, 2024

Hi @LockTar - I don't have an old copy of the extension. However, you can clone this repo, checkout this commit aef8af and then upload the task using tfx.

So do the following:

git clone https://github.com/colindembovsky/cols-agent-tasks
git checkout aef8af
cd Tasks\VersionAssemblies
npm install
cd ..
tfx build tasks upload --task-path VersionAssemblies --overwrite

You may need to update the version number to match the version number that you have locally (or a +1 on the patch number).

from cols-agent-tasks.

LockTar avatar LockTar commented on June 12, 2024

Hi @colindembovsky - I cloned everything and got an even older version of the extension.
I created the vsix and removed the old task with the cli. I then installed the old vsix and then updated the extension to the latest from the marketplace. We now have 2 versions of the task and is exactly what we want.
Thank you for the help!

from cols-agent-tasks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.