Visual Studio 2019 constantly crashing

Doug Matthews 26 Reputation points
2021-05-31T21:39:03.66+00:00

Hi. I'm at my wit's end with this. I've used VS2017 for years, it was mostly solid. Just a few little quirks. I recently installed 2019 Community so I could use .NET 5 and it's nothing but headache after headache. It's laggy, has a lot more quirks (like toolbox taking 30+ seconds to load, component properties blank, last opened class totally blank when opening a project, etc) but the most aggravating is constant crashing. I've lost so much work to it. It crashes and in the event log I have two errors:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.DotNet.DesignTools.Client.DesignToolsClientException
   at Microsoft.DotNet.DesignTools.Client.DesignToolsClient+<SendRequestAsync>d__49`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.Threading.JoinableTask`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CompleteOnCurrentThread()
   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<System.Threading.Tasks.Task`1<System.__Canon>>, Microsoft.VisualStudio.Threading.JoinableTaskCreationOptions)
   at Microsoft.VisualStudio.Threading.JoinableTaskFactory.Run[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Func`1<System.Threading.Tasks.Task`1<System.__Canon>>)
   at Microsoft.DotNet.DesignTools.Client.DesignToolsClient.Microsoft.DotNet.DesignTools.Protocol.Endpoints.IRequestSender.SendRequest[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String, System.__Canon)
   at Microsoft.WinForms.DesignTools.Protocol.Endpoints.ToolStripInSitu.GetIgnoreMessagesEndpoint+Sender.SendRequest(System.Object)
   at Microsoft.WinForms.DesignTools.Protocol.Endpoints.WinFormsEndpoints+ToolStripInSituImpl.GetIgnoreMessages(System.Object)
   at Microsoft.WinForms.DesignTools.Designers.ToolStrips.ClientToolStripInSituService.get_IgnoreMessages()
   at Microsoft.DotNet.DesignTools.Client.Designers.PbrsForward.System.Windows.Forms.IWindowTarget.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

and

Faulting application name: devenv.exe, version: 16.10.31321.278, time stamp: 0x60a85eca
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1023, time stamp: 0xcbf6f7d1
Exception code: 0xe0434352
Fault offset: 0x0012a6f2
Faulting process id: 0x2a48
Faulting application start time: 0x01d7566331a916e1
Faulting application path: C:\Apps\VS2019\Common7\IDE\devenv.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 5c4b4194-b42a-4328-9024-993ea5287035
Faulting package full name: 
Faulting package-relative application ID: 

I can't go more than 10 minutes before it blows up. I'm about to uninstall this garbage and go back to 2017 and just try to find an alternative to that for which I needed .NET5. Funny thing is I wasn't even aware community existed, I was ready to drop $500 on a 2019 Pro license before someone clued me in. I'd be livid if I had paid $500 for this hot mess.

So I'm doing a repair right now, but does anyone have insight into anything I can do to fix this?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,628 questions
{count} vote

9 answers

Sort by: Most helpful
  1. İlke Amasya 1 Reputation point
    2021-12-16T18:03:00.603+00:00

    Does anybody have a fix on this issue?

    0 comments No comments

  2. Robert Zimmerman 1 Reputation point
    2022-03-31T00:04:59.327+00:00

    A few days ago, VS 2019 started crashing on me. It was unstable before when I would open it and no SSRS reports would appear until a few minutes later. So, I uninstalled. Then, I tried to uninstall the installer thinking that might be the problem. The installer was corrupt. So, I attempted to install VS 2022. Perhaps the installer repaired itself because the installation of VS 2022 was successful. However, the same problem still exists when I open VS 2022, create a new SSRS project, and attempt to create a shared datasource, the app freezes then crashes. So, I'm not thinking I can install VS 2017 and that will be the solution. VS 2019 and VS 2022 will simply not work on this laptop. Short of reinstalling Windows, I cannot use VS for any of my development work. I have researched this issue, installed the Debug diag tool to whatever end I cannot determine since I'm not an OS level expert nor do I want to be. This very situation can cause me to make changes to my job path. If I cannot build on my SSRS skills, I will have to turn to another tool to learn. To say I'm angry was several days ago. Now, I'm just beside myself thinking how can a software company allow this to happen? I'm one of thousands of others who have the same problem. Isn't there a fix that addresses what apparently a stack overflow error due to some recursive calling of specific DLLs or something to that effect? Doesn't errors like "faulting application path" and "faulting module path" sound more intuitive if you said "sorry, SOL, may I suggest you try learning Power BI?"

    0 comments No comments

  3. Jie Yan 1 Reputation point Microsoft Employee
    2022-04-26T16:30:13.46+00:00

    Noticed recently that my VS 2019 and 2022 both have lots of crashes, delayed my work quite a bit.

    0 comments No comments

  4. KC746555124 1 Reputation point
    2022-08-03T20:16:47.417+00:00

    I am doing WPF and my Visual Studio 2019 has constantly been crashing for a long time.

    0 comments No comments