RichardMoore;14953 wrote:
Bug report sent.
Thanks for sending through the report. It was very short and quite conclusive with minimal activity and no issues or bottlenecks reported. As far as I can establish right now, this one doesn't look like us.
RichardMoore;14953 wrote:
A strange thing, when I loaded the solution NCrunch was enabled and I didn't get the warning. I disabled NCrunch and re-started VS, loaded the solution and VS gave me the yellow bar and said that it stopped responding for 12 seconds.
It is entirely possible that the hangup is the result of complex interactions inside VS that may or may not involve NCrunch. If it's happening for you consistently enough, I'd suggest trying to get a debugger on it and break into the debug session when it hangs. This will give you a chance to extract the stack trace at the point of hanging and hopefully identify the source of the issue. This would involve having one instance of VS debug another one. Note that the debugger greatly degrades performance on a debugged VS instance.
RichardMoore;14953 wrote:I don't know if you've seen this video from MS - "The architecture and inner workings of Visual Studio - Visual Studio Remote Office Hours"
https://youtu.be/fdmIpOOcWEQ - two senior MS guys talking about how VS is still based heavily on legacy Win32 code, WinForms and Com. At one point they have a laugh about how one of the main startup functions is 5,000 lines of legacy code and they daren't touch it. No wonder VS is becoming such a pile of crap these days.
I have a lot of respect for many of the people that work on VS. Given the age of the project and everything it's been through, it must be a true nightmare to keep things running much less push through new features. There are many things that I'm unhappy with in the newer versions of VS, but I have to admit it's quite a remarkable feat that it works as well as it does in most cases. I really do wish they would have thought to report the stack traces they capture when playing these blame games though. As a package developer, it's rather hard to find a constructive solution when your only symptom is a yellow bar blaming your product for something you can't pin down or explain.