azure pipeline getting error Build.SourceDirectory

Copper Contributor

getting this error: 

Build.SourceDirectory : The term 'Build.SourceDirectory' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I did not setup any agent pool I let it decide by itself.
0 Replies