My visual studio is acting very very slow lately. I have one solution with 22 projects and it never had a problem before. I have had this size of code of few months now and it was always fast and great.
In order to debug, i have tried removing all my extensions. I have tried removing re-sharper(which I though might had been causing problems.) But it is still slow.
By build takes almost 5 minutes and running tests take almost 10-15 minutes. I have restarted my computer multiple times. Cleaned solution.
The only thing left to do is to re-install visual studio but that is not going to guarantee any kind of solution at all and before I do that, I wanted to make sure that I have done everything in my control to solve this issue.
One more thing, my visual studio profile is on network as our company’s network is configured in a way that all the user’s profile data resides on the network. I can not change that fact at the moment but I also wanted to know if it has any effect on the performance of visual studio build.
Is there anything that you think I should be trying?
I think it’s very likely that there’s some kind of network access that will be slowing it down, especially as you say that the profiles are stored there. I would suggest running Process Monitor to capture data for a few seconds and then look through the list for some network paths or run
Tools -> File SummaryorNetwork Summaryto see where it is spending the time. It could be that a server somewhere is switched off and so there are lots of network timeouts, or that there’s a lot of latency or traffic on the network.