问题描述:

I have noticed a drop down with a version number in my build definition, this appeared few week ago(perhaps after a VSTS upgrade) in all of the build definitions. I could not find any reference for this in MSDN, Please explain the purpose of this.

Thanks in advance.

网友答案:

This means the version of this build task. Some steps have more than one version for you to choose, such as "Visual Studio Test", "Copy Files" steps, etc. Some steps still have one version, like the "Nuget Installer".

You could choose different version of the step by clicking the dropdown list. If a new version of the step added, you will see a red flag beside it.

Update:

In the manifest file(the task.json file), set the version and preview like the below:

"version": {
    "Major": 2,
    "Minor": 0,
    "Patch": 1
  },
  "demands": [ "vstest" ],
  "preview": "true",

The "Major" set to 2 and the "preview" set to true, you will see "2.*(prview)" in your task.

相关阅读:
Top