Visual Studio 2019 Crash Immediately

  • Thread starter Thread starter Cass Cunningham
  • Start date Start date
C

Cass Cunningham

Guest
Within the past week, Visual Studio 2019 has started crashing immediately after displaying the splash screen.


I have tried uninstalling and reinstalling (more than once). I've looked online and tried a couple of solutions. Nothing works.


Here is the error from C:\Users\<myUser>\AppData\Roaming\Microsoft\VisualStudio\16.0_10d62798\ActivityLog.xml:


CreateInstance failed for package [VSTelemetryPackage]Source: 'mscorlib' Description: Exception has been thrown by the target of an invocation. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'Microsoft.VisualStudio.Shell.ServiceProvider' from assembly 'Microsoft.VisualStudio.Shell.Framework, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. at Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(Type serviceType, Object serviceInstance, Boolean promote) at Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(Type serviceType, ServiceCreatorCallback callback, Boolean promote) at Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(Type serviceType, ServiceCreatorCallback callback) at Microsoft.VisualStudio.Shell.Package..ctor() at Microsoft.VisualStudio.Telemetry.VSTelemetryPackage..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark) at System.Activator.CreateInstance(String assemblyName, String typeName) at System.AppDomain.CreateInstance(String assemblyName, String typeName)System.TypeLoadException: Could not load type 'Microsoft.VisualStudio.Shell.ServiceProvider' from assembly 'Microsoft.VisualStudio.Shell.Framework, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. at Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(Type serviceType, Object serviceInstance, Boolean promote) at Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(Type serviceType, ServiceCreatorCallback callback, Boolean promote) at Microsoft.VisualStudio.Shell.Package.System.ComponentModel.Design.IServiceContainer.AddService(Type serviceType, ServiceCreatorCallback callback) at Microsoft.VisualStudio.Shell.Package..ctor() at Microsoft.VisualStudio.Telemetry.VSTelemetryPackage..ctor()

Continue reading...
 
Back
Top