question

la07k-4914 avatar image
0 Votes"
la07k-4914 asked la07k-4914 commented

How to get TFS Source location path from the visual studio class

Hi,

I wanted to get the SoucrceLocation of the tfs project from the Visual studio class.
How to get that?

71955-image.png


dotnet-csharpvs-general
image.png (86 B)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @la07k-4914 , welcome to Microsoft Q&A forum. Do you mean you want to use C# codes to get TFS Source location path, or you mean you want to know the path of TFS Source location?

Besides, could you please explain or share more information about “TFS Source location”(path of local TFVC repo?) and “Visual Studio class”(Visual Studio IDE? C# class?).

0 Votes 0 ·

Hi TianyuSun-MSFT ,

"Do you mean you want to use C# codes to get TFS Source location path"

Yes on Right clcik of a fiile i want to get the TFS Source Loaction Path.
I want to create a Visual studio pluggin which need this path.81630-tfs.png



Please find the attachement.

0 Votes 0 ·
tfs.png (8.4 KiB)

0 Answers