3

I'm collaborating on a project and the team is using TFS 2013 for source control. I have no connection issues and checking in/out is pretty fast.

The problem is that whenever I try to add a new file, which I do by Right-Clicking a folder or a project to add a new Item or create a new folder, Visual Studio becomes unresponsive for several minutes before the context menu pops up, and then for another several minutes when I try to open the Add child menu. Afterward, actually adding the item/folder is fast. Obviously this is severely killing my productivity.

enter image description here

I'm using Visual Studio 2013 Update 5, and I don't encounter this issue when working with local projects or projects using other source control systems so I reckon this somehow relates to TFS? the only extension I have is Productivity PowerTools and NUnit Test Adapter. I have tried the TFS Go Offline extension but that didn't help.

Has anyone encountered a similar issue? any thoughts on how to resolve this would be much appreciated.

Saeb Amini
  • 23,054
  • 9
  • 78
  • 76
  • Shouldn't this has to be reported directly to Microsoft support? – Sinatr Feb 12 '16 at 10:35
  • 1
    happening to me also on VS2015 when renaming files – mariovalens Feb 12 '16 at 10:39
  • tried clearing out your TFS cache? – timB33 Feb 12 '16 at 15:26
  • Is this a occasional issue or it happens every time? – Chamberlain Feb 13 '16 at 10:01
  • @timB33 tried that, didn't have any effect. – Saeb Amini Feb 13 '16 at 10:26
  • @Chamberlain every single time unfortunately, I'm currently doing a half-arsed workaround by copy pasting items in instead of trying to go Add -> etc., so I just experience the hang once. – Saeb Amini Feb 13 '16 at 10:27
  • @SaebAmini, 1). If you work with another Visual Studio 2013 to open the same source controlled project, will the VS2013 hangs as well? 2). Does that project reference any NuGet dlls? Another stackoverflow case discusses the similar issue, and many community members resolved it via go to: Tools-> Options-> NuGet Package Manager-> "Clear Package Cache". See: http://stackoverflow.com/questions/27530207/visual-studio-freezes-when-i-try-to-add-a-file – Vicky - MSFT Feb 22 '16 at 06:52
  • @Vicky-MSFT, thanks for your response. Yes, I've even tried another machine as well as another instance of VS on the same machine, it still hangs. I also came across that post during my research and tried clearing the package cache to no avail. – Saeb Amini Feb 22 '16 at 08:39

0 Answers0