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
44 stars 25 forks source link

Path as parameter #366

Open tethasolutions opened 6 months ago

tethasolutions commented 6 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