Rui Jarimba
Rui Jarimba

Reputation: 18149

Visual Studio Team Services - edit link settings

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

Upvotes: 26

Views: 7688

Answers (2)

MDD
MDD

Reputation: 274

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

Upvotes: 3

Kasun Kodagoda
Kasun Kodagoda

Reputation: 4024

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

Upvotes: 50

Related Questions