I am trying to get the source directory inside of my build process template. The following expression would work in Tfs 2012, but it is having issues with 2013.
I have placed a FindMatchingFiles Activity after the TfsGetSources Activity. I am attempting to find all AssemblyInfo files within the source structure within the current build. How can I get the physical path to the sources directory?
This is the expression I am trying:
String.Format("{0}\**\AssemblyInfo.*", SourcesDirectory)
Log Output:
Find All AssemblyInfo.* Files 00:00:00- Inputs
- MatchPattern: BuildDirectory\**\AssemblyInfo.*
- Outputs
- Result: System.Linq.OrderedEnumerable`2[System.String,System.String]
There were no matches for the search pattern BuildDirectory\**\AssemblyInfo.*