Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop Refresh inside TFS Build window in Visual Studio

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?

like image 278
timw Avatar asked Oct 19 '11 21:10

timw


1 Answers

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
like image 171
Duat Le Avatar answered Sep 28 '22 06:09

Duat Le