在 Visual Studio 的 TFS 构建窗口内停止刷新 [英] Stop Refresh inside TFS Build window in Visual Studio

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

问题描述

在查看 TFS 构建时,有没有办法停止 Visual Studio 内部的不断刷新?使用 VS 2010 SP1 和 TFS 2010 SP1.在 Build 窗口中观看构建时,屏幕每 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_USERSOFTWAREMicrosoftVisualStudio10.0TeamFoundationBuildUISettings,值为ReportPollingInterval"

HKEY_CURRENT_USERSOFTWAREMicrosoftVisualStudio10.0TeamFoundationBuildUISettings 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")

例如在命令行上运行:

reg add HKEY_CURRENT_USERSOFTWAREMicrosoftVisualStudio14.0TeamFoundationBuildUISettings /v ReportPollingInterval /t REG_DWORD /d 1000000000

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

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