vsts-assemblyinfo-task
vsts-assemblyinfo-task copied to clipboard
Path as parameter
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