在Visual Studio的TFS生成窗口中停止刷新 [英] Stop Refresh inside TFS Build window in Visual Studio

查看:68
本文介绍了在Visual Studio的TFS生成窗口中停止刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当查看TFS生成时,是否有办法停止Visual Studio内部的持续刷新?使用VS 2010 SP1和TFS 2010 SP1.在构建"窗口中观看构建时,屏幕每10秒钟左右刷新一次.没什么大不了的,除了在每次刷新期间,如果查看构建窗口的底部,窗口会重置到页面中间的某个位置(并且它会滚动).很烦人.我宁愿手动刷新以观看构建运行,而不是向下滚动到底部,然后一旦到达底部,由于窗口重置而再次滚动.有没有办法关闭此自动刷新?

Is there a way to stop the constant refreshing inside Visual Studio when looking at a TFS Build? Using VS 2010 SP1 and TFS 2010 SP1. When watching a build in the Build window, the screen refreshes every 10 seconds or so. Not a big deal except during every refresh the window resets to somewhere in the middle of the page if looking at the bottom of the build window (and it scrolls). So annoying. I'd rather manually refresh to watch the build run instead of scrolling down to the bottom, then once getting to the bottom, scrolling again because the window reset. Is there a way to turn off this automatic refresh?

推荐答案

有一种方法可以使此停止.添加以下注册表项

There is a way to make this stop. Add the following registry key

HKEY_CURRENT_USER \ SOFTWARE \ Microsoft \ VisualStudio \ 10.0 \ TeamFoundation \ Build \ UISettings的名称为"ReportPollingInterval"

HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0\TeamFoundation\Build\UISettings with value name "ReportPollingInterval"

,带有刷新间隔的DWORD值(以毫秒为单位).默认情况下,它每10秒刷新一次.

with a DWORD value (in ms) for the refresh interval. By default it refreshes every 10 seconds.

您需要将"10.0"更改为Visual Studio版本(例如,Visual Studio 2013为"12.0",而Visual Studio 2015为"14.0")

You will need to change "10.0" to your Visual Studio version (e.g. Visual Studio 2013 is "12.0", and Visual Studio 2015 is "14.0")

例如在您的命令行上运行它:

E.g. run this on your command line:

reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0\TeamFoundation\Build\UISettings /v ReportPollingInterval /t REG_DWORD /d 1000000000

这篇关于在Visual Studio的TFS生成窗口中停止刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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