I want to save/run custom tools on a handful of .tt
files from my extension. I don't want to loop over all the files in the solution/project, rather I want to be able to use a relative (or full) path of the file to execute a save/run custom tool.
Is there a way to get a ProjectItem
object given a path of the file ($(SolutionDir)/MyProject/MyFile.tt
) so I can execute methods on it?