I just noticed on Visual Studio Build task the following:
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?
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.
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.
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.
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With