Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

How to get the sources directory in TFS 2013

$
0
0

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.*


Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>