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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
There is a way to make this stop. Add the following registry key
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0\TeamFoundation\Build\UISettings with value name "ReportPollingInterval"
with a DWORD value (in ms) for the refresh interval. By default it refreshes every 10 seconds.
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
回答2:
ReportPollingInterval set to 0 means off.