title: Retrieving TFS WorkItemStore horribly slow in debug build
body: <p>I'm using the following code to retrieve a WorkItemStore in TFS:</p>
  
  <pre><code>TfsTeamProjectCollection _tfs = new TfsTeamProjectCollection(new Uri("&lt;server&gt;"));
  _tfs.Authenticate();
  
  WorkItemStore _store = (WorkItemStore)_tfs.GetService(typeof(WorkItemStore));
  </code></pre>
  
  <p>The call to GetService takes at least a full minute to complete in a Debug build, but runs in a second or two in a Release build. I also tried other methods of creating a WorkItemStore (IE: new WorkItemStore(_tfs), etc.) with the same results. There is no difference in target platform,  and there are no command-line arguments. Disabling the "Visual Studio hosting process" makes no difference.</p>
  
  <p>Additionally, this code is part of a project recently added to TFS, and I didn't have this problem when I was working purely local. I tried creating a copy of the project and removing it from source control, and that also had no effect.</p>
  
  <p>I'm about out of ideas...any suggestions on where to look next would be greatly appreciated.</p>