在Image Viewer而非Web浏览器中打开TFS工作项附件 [英] Open TFS Work Item Attachment in Image Viewer not Web Browser

查看:95
本文介绍了在Image Viewer而非Web浏览器中打开TFS工作项附件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过在计算机的默认图像查看器中双击(或只是从IDE中打开它)来打开TFS工作项的附件,而不是在Web浏览器中打开它的方法?我希望能够更改此设置(如果它是一个设置).

Is there a way to open an attachment for a TFS work item by double clicking on it (or rather just opening it from the IDE) in your computer's default image viewer, rather than opening it in a web browser? I'd love to be able to change this setting (if it is a setting).

在查看了Kate Gregory的回复之后,我研究了此选项,并意识到问题在于VS正在启动url(带有附件响应的处理程序文件),从而导致默认的Web浏览器启动.我正在考虑的一项可能的解决方法是为所有基于Web的呼叫编写自定义映射器(例如,在开始->运行并输入URL时),该映射器将确定呼叫的类型(TFS等)并使用基于响应的MIME类型的适当程序,并在第二阶段将其合并为VS加载项.

after reviewing Kate Gregory's response, I looked into this option and realized that the trouble is that VS is launching a url (a handler file to respond with the attachment), which results in the default web browser being launched. A potential work around i'm considering is writing a custom mapper for all web based calls (as in, when going to start->run and enter a URL) that the mapper would determine what kind of call it is (TFS, etc) and use an appropriate program, based on the MIME type responded with, with a second phase to be incorporate this as a VS add-in.

推荐答案

我可以肯定地确定VS仅使用您的默认程序. Word适用于.doc文件,IE适用于.htm文件,以及(如果您敢打赌)IE适用于.jpg文件.尝试更改您在Windows中使用的默认程序,然后看看会发生什么.

I'm reasonably sure VS just uses your default program. Word for .doc files, IE for .htm files, and (in your case I bet) IE for .jpg files. Try changing the default program you're using in Windows and see what happens.

这篇关于在Image Viewer而非Web浏览器中打开TFS工作项附件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆