Visual Studio Oddity

mderj 1 Reputation point
2021-03-01T18:39:31.27+00:00

I am working on a project in VS targetting .Net5. When I have a particular file open in VS, I get frequent "VS not responding" notices, especially after debugging, code error reporting sometimes stops working, code expansion nodes fail to appear and a few other oddities. If I keep the file closed, there is none of it - everything works OK. Any ideas what might be causing it? The file in question is quite large and contains many controls, but I haven't had these problems before with larger files. Thanks for any help.

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 61,116 Reputation points
    2021-03-01T18:46:26.443+00:00

    Probably one or more extensions causing the slowdown. Run VS in safemode. If the problem goes away it is an extension issue. In newer VS versions it should report if an extension is slowing things down too much. Otherwise you'll need to start disabling your extensions until the problem goes away. Once you've found the extension you can report the issue to the author.

    Alternatively you can use Report a Problem in VS directly, replicate the issue and send the report to MS so they can look at it. From there they will either identify an issue in the shell or be able to identify which extension is causing the slowdown.


  2. Dylan Zhu-MSFT 6,431 Reputation points
    2021-03-02T07:40:39.113+00:00

    Hi mderj,

    You can try to disable live share extension, then restart visual studio.
    73219-image.png

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.