So there's this solution containing 162 projects, it's one product. It's in TFS.
VS 2012 Update 2 now, but I experienced it with bare VS 2012 and update 1 too. The TFS server is 2102 too. I installed TFS PowerTools from NuGet and Productivity PowerTools too.
What happens is that usually it takes 5+ minutes to load this solution. The Visual STudio becomes almost unresponsive, only a progress window is visible, Title: "Microsoft Visual Studio", "Loading solution projects..." "Loading project 21 of 162: ...". And it takes 10-60 seconds to process a project.
During that behavior one CPU is occupied. If I look at the threads of Visual Studio, I see more dozens of threads with "clr.dll!DllGetClassObjectInternal+0x5500d". Since there are 162 projects, I guess maybe each of those thread belongs to a project? If I look at the call stack of such a thread I see:
Can this be some multi-threading/locking issue which comes up only with large number of projects?
Extremely rarely I experience the desired behavior: the solution opens up within seconds, and the rest of the loading process happens asynchronously, Visual Studio is responsive. I can see a very thin dark blue progress indicator line below the title of the Solution Explorer, and I can see the project icons changing as they load. The load procedure is still much faster when Visual Studio produces the locking issue.
Deleting the suo file doesn't help.