I am trying to extract attachment from TFS back to file system through OM API. In beta2 there was Attachment.CopyTo method. It is not there in beta 3 refresh. The only thing I found is DownloadFile method of ClientService, but if it is correct path, how I can get AttachmentId?
Leon, sorry for delay in responding to your question. We see that attachment id is not exposed in OM, and hence using WS is harder. Instead below is a simple function to download data directly from attachment Url which is exposed in object model: