powershell - Visual Studio/TFS 2012 - Retrieve original filepath from .tmp files in comparison -
i'm working on developing specific comparison tool in visual studio 2012 tfs 2012 installed, , having trouble getting around tfs's use of temporary files comparison. in tools > options > source control > visual studio tfs > configure user tools...
, shown here:
i'm modifying command comparing .xml files, , tfs gives me following options add command lines parameters powershell:
the issue is, i'm calling custom powershell script processing , determine action take based on files being compared. however, of information required process actual source control filepath of each file; appear stored in command line args %1
, %2
. unfortunately, tfs uses .tmp
files perform comparisons, each of paths points .tmp
(stored in local appdata) file instead of original .xml
filepath need.
the contents of files not have information i'm looking for, , filepath guaranteed to. there way @ use other of command line arguments provided tfs pass through original filepaths powershell, or can somehow tie .tmp
files .xml
path? i'm kinda stuck @ point. thanks!
there no option specify file in argument. i've tested on side tfs2015 + vs2015, when added ps tool compare .xml file, did compare .xml files, not .tmp file.
you can specify source path , target path when compare .xml files:
Comments
Post a Comment