How can I load latest version of a file from TFS into computer memory? I do not want to get latest version from TFS onto disk, then load file from disk into memory.
相关问题
- Getting error: File extension specified '.webt
- Using TFS command line tf.exe how can I copy a rep
- TFS Power tools Migrate doesn't actually migra
- What is the difference between tfpt scorch and tfp
- TFS 2017 Agent: and error occured while sending th
相关文章
- Is it possible to do a “destroy history” in TFS?
- How do I make a TeamCity build appear in the TFS B
- TFS vs. JIRA/Bamboo/SVN [closed]
- Why doesn't my .tfignore file ignore my packag
- Is it possible to create a docker container from T
- How to Move TFS 2010 Build Definition between Proj
- How to fix TF246017 The Team foundation server cou
- How to open TFS Power Tools - Alerts Explorer
was able to solve using these methods:
VersionControlServer.GetItem Method (String)
http://msdn.microsoft.com/en-us/library/bb138919.aspx
Item.DownloadFile Method
http://msdn.microsoft.com/en-us/library/ff734648.aspx
complete method:
Most of the time, I want to get the contents as a (properly encoded) string, so I took @morpheus answer and modified it to do this: