Exception during loading with VS 2022 17.1
skottmckay opened this issue · 1 comments
skottmckay commented
Guidelines don't display after update to 17.1. Attempting to add a new guideline results in message saying check the activity log. Activity log has this:
<entry>
<record>2118</record>
<time>2022/02/22 23:49:58.901</time>
<type>Error</type>
<source>Microsoft.VisualStudio.ComponentModelHost.VsShellComponentModelHost</source>
<description>A MEF Component threw an exception at runtime: Microsoft.VisualStudio.Composition.CompositionFailedException:
An exception was thrown while initializing part "EditorGuidelines.ColumnGuideAdornmentFactory". --->
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.ApplicationInsights, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.
 at EditorGuidelines.ColumnGuideAdornmentFactory.OnImportsSatisfied()

--- End of inner exception stack trace ---
 at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.InvokeOnImportsSatisfied()
 at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.NotifyTransitiveImportsSatisfied()
 at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
 at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
 at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
 at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()</description>
</entry>
I tried uninstalling and re-installing the extension but still fails.
skottmckay commented
Sorry - I see this is covered by the pinned issue. Wasn't clear from the title of that that it was relevant.