Hi, my visual studio 2019 suddenly stops working. It just stops without throwing any errors. I tried to delete and reinstall few times but it didn't solve the issue. I found some errors in windows eventViewer.
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.SEHException
at Microsoft.VisualStudio.Services.GelFactory.FactoryServiceBase`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(Microsoft.VisualStudio.Shell.IAsyncServiceProvider, ICodeMarkers<System.__Canon,System.__Canon>)
at Microsoft.VisualStudio.Services.GelFactory.GelFactoryPackage.<InitializeAsync>b__1_1(System.ComponentModel.Design.IServiceContainer, System.Type)
at Microsoft.VisualStudio.Shell.Package.GetService(System.Type)
at Microsoft.VisualStudio.Shell.AsyncPackage.GetService(System.Type)
at Microsoft.VisualStudio.Shell.Package.InternalQueryService(System.Guid ByRef, System.Guid ByRef, IntPtr ByRef)
at Microsoft.VisualStudio.Shell.AsyncPackage.InternalQueryService(System.Guid ByRef, System.Guid ByRef, IntPtr ByRef)
at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IServiceProvider.QueryService(System.Guid ByRef, System.Guid ByRef, IntPtr ByRef)
at Microsoft.VisualStudio.OLE.Interop.IServiceProvider.QueryService(System.Guid ByRef, System.Guid ByRef, IntPtr ByRef)
at Microsoft.VisualStudio.Shell.ServiceProvider.QueryService(System.Guid, System.Type, Boolean, System.Object ByRef)
at Microsoft.VisualStudio.Shell.ServiceProvider.QueryService(System.Type, Boolean, System.Object ByRef)
at Microsoft.VisualStudio.Shell.ServiceProvider.GetService(System.Type, Boolean)
at Microsoft.VisualStudio.Shell.Package.GetService(System.Type)
at Microsoft.VisualStudio.Shell.Package.System.IServiceProvider.GetService(System.Type)
at Microsoft.VisualStudio.Services.SignIn.UIFactory.Register(System.IServiceProvider)
at Microsoft.VisualStudio.Services.SignIn.SignInPackage.Initialize()
at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(Microsoft.VisualStudio.OLE.Interop.IServiceProvider)
Faulting application name: devenv.exe, version: 16.10.31424.327, time stamp: 0x60d5155d
Faulting module name: clr.dll, version: 4.8.4390.0, time stamp: 0x609c42a0
Exception code: 0xc0000006
Fault offset: 0x000bf200
Faulting process id: 0x1348
Faulting application start time: 0x01d76d3e5ce40769
Faulting application path: G:\Apps\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: ba77424c-2e53-40f5-80f7-2aaafbc28953
Faulting package full name:
Faulting package-relative application ID:
Windows cannot access the file C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Coll4a4f96a7#\a55e2437e97c99ba5faffb48cf233a03\System.Collections.Immutable.ni.dll for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program Microsoft Visual Studio 2019 because of this error.
Program: Microsoft Visual Studio 2019
File: C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Coll4a4f96a7#\a55e2437e97c99ba5faffb48cf233a03\System.Collections.Immutable.ni.dll
The error value is listed in the Additional Data section.
User Action
- Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
- If the file still cannot be accessed and
- It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
- It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
- Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
- If the problem persists, restore the file from a backup copy.
- Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.
Additional Data
Error value: C0000242
Disk type: 3