BMuuN / vsts-assemblyinfo-task

Assembly Info is an extension for Azure DevOps that populates assembly information metadata from a build pipeline.
https://marketplace.visualstudio.com/items?itemName=bleddynrichards.Assembly-Info-Task
MIT License
45 stars 27 forks source link

Path as parameter #366

Open tethasolutions opened 8 months ago

tethasolutions commented 8 months ago

Hello, I have set up a multi-repository pipeline where in one repo I have the DevOps scripts and in the other the project source code. If I try to set the Path parameter of the Assembly-Info-NetCore@3 task with the value of a parameter using syntax ${{parameters.repoPath}}, the task fails because it seems to concatenate the value of the predefined Build.SourcesDirectory variable with the value of the parameter (e.g., 'C:\agent\_work\2\s\ C:\agent\_work\3\s\repoName'). I tried with absolute and relative path. Setting the Path parameter manually using string value works perfectly. Can anyone help me? Thank you very much! Mirko