Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Team Services - edit link settings

Tags:

I just noticed on Visual Studio Build task the following:

enter image description here

To have parameters for common settings such as the solution file seems like a good idea to me, given that some parameters are used in more than 1 task... But I honestly don't like to use the wildcards, I'd rather use the path to the solution file.

If I click on Link Settings I am not able to edit the value for the Solution setting, is there a way to change it?

enter image description here

like image 266
Rui Jarimba Avatar asked Apr 12 '17 06:04

Rui Jarimba


People also ask

How do I change my TFS URL?

Start Visual Studio, and then click Connect to Team Foundation Server in the left navigation pane of the Start page. Click Servers, and then click Add. In the Name or URL of Team Foundation Server field, type your new Azure DevOps Service URL ( https://yournewaccount.visualstudio.com/ ), and then click OK.

How do I access team services in Visual Studio?

Visual Studio 2017Choose the Connect to Team Project link to select a project to connect to. Connect to a Project shows the projects you can connect to, along with the repos in those projects. Select Add Server to connect to a project in Team Foundation Server. Enter the URL to your TFS server and select Add.


2 Answers

When you link a setting from a build task it will not be editable in the Task itself. To edit it you need to go to the Process section of your build definition. There you can see a new parameter is added that maps to the solution setting in your MSBuild task.

Build taks - Process

You can see in the above image, the new parameter that was added to the process section of the build definition. You can clearly see if you unlink the setting from the build definition, the parameter will be removed. Here if you want, you can select the full path to the solution instead of using a wildcard

like image 159
Kasun Kodagoda Avatar answered Sep 28 '22 05:09

Kasun Kodagoda


For anyone coming to this answer later, I'm using Azure DevOps Server 2019, and the names of things have changed. I can get to the definition of "Solution" by going to Task -> Pipeline -> Parameters. slightly redacted screenshot of Azure Devops Server Build Pipeline page

like image 42
MDD Avatar answered Sep 28 '22 04:09

MDD