将屏幕截图粘贴到TFS 2010 Web访问中以查找错误

是否有自动将屏幕截图粘贴到TFS 2010 Web访问中以获取错误?我不想将屏幕截图保存到文件中,然后将它们添加为附件.这需要一段时间才能做到这一点.我只是想快速将它们添加到bug中. 最佳答案 我认为你不能.

在MSDN论坛上看到这个相似(可能不完全相同)的问题:

> http://social.msdn.microsoft.com/Forums/en-US/tfsgeneral/thread/fe8b80c9-8fbd-4d6c-bc65-80d75dd3409b/

回应:

Now, when adding the task into TFS 2010 , I can use the cupboard to “copy/Paste” from OneNote to TFS. But then the image is stored as a link to my local machine and not stored in TFS server.

答案是(反复说明):

As I said in my previous reply, we should to add the images as attachment into Work Items. Open Work Item in VS, click Attachments tab, then click Add to browse your images, the images will store in TFS Server.

或者,DIY并编写一个应用程序

TFS公开了一个可用于创建自己的工具的API,而不是使用他们的Web访问.有关如何实现该特定部分(添加附件),请参阅此问题:

Upload a file using TFS Client APIs

点赞