VSOutputEnhancer icon indicating copy to clipboard operation
VSOutputEnhancer copied to clipboard

Fail to work after installation

Open hugo-dufort opened this issue 5 years ago • 1 comments

I really wish to help you on that. But I just installed it. Well in fact I started the install while VS2019 was running, then just before clicking the finale "Install" button, I closed VS2019. Then while in my Blazor project the output windows did not change in any way, and couldn't find any trace of the plug-in in VS option Windows. I ended up uninstalling it using the VS Extension manager. Hope this could help you.

Environment: Win 10 Build 2004 - French Canadien VS2019 v16.7.1 VS Language: English Project: C# Blazor Using VS Dark Mode UI

output

hugo-dufort avatar Aug 15 '20 14:08 hugo-dufort

In my case I installed it on VS2015 Community Edition, both from outside VS and from within VS. Everything appeared to succeed and VS thinks that the extension is installed but I can find no other presence (Menu or dialog items) of the plugin within VS's user interface.

I'm also seeing exceptions in the activity log

    <record>467</record>
    <time>2024/03/09 03:18:49.152</time>
    <type>Error</type>
    <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
    <description>A MEF Component threw an exception at runtime: Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part &quot;Balakin.VSOutputEnhancer.UI.FormatDefinitions.BuildResultSucceededFormatDefinition&quot;. ---&gt; System.IO.FileNotFoundException: Could not load file or assembly &apos;Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;   at Balakin.VSOutputEnhancer.UI.StyleManager.LoadColorsFromResources()&#x000D;&#x000A;   at System.Lazy`1.CreateValue()&#x000D;&#x000A;   at System.Lazy`1.LazyInitValue()&#x000D;&#x000A;   at System.Lazy`1.get_Value()&#x000D;&#x000A;   at Balakin.VSOutputEnhancer.UI.StyleManager.GetStyleForClassificationType(String classificationType)&#x000D;&#x000A;   at Balakin.VSOutputEnhancer.UI.FormatDefinitions.StyledClassificationFormatDefinition..ctor(IStyleManager styleManager)&#x000D;&#x000A;   at Balakin.VSOutputEnhancer.UI.FormatDefinitions.BuildResultSucceededFormatDefinition..ctor(IStyleManager styleManager)&#x000D;&#x000A;   --- End of inner exception stack trace ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.&lt;&gt;c__DisplayClass15_0.&lt;GetExportedValueHelper&gt;b__0()</description>
  </entry>
  <entry>
    <record>468</record>
    <time>2024/03/09 03:18:49.168</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>Microsoft.VisualStudio.Composition.CompositionFailedException: An exception was thrown while initializing part &quot;Balakin.VSOutputEnhancer.UI.FormatDefinitions.BuildResultSucceededFormatDefinition&quot;. ---&gt; System.IO.FileNotFoundException: Could not load file or assembly &apos;Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;   at Balakin.VSOutputEnhancer.UI.StyleManager.LoadColorsFromResources()&#x000D;&#x000A;   at System.Lazy`1.CreateValue()&#x000D;&#x000A;   at System.Lazy`1.LazyInitValue()&#x000D;&#x000A;   at System.Lazy`1.get_Value()&#x000D;&#x000A;   at Balakin.VSOutputEnhancer.UI.StyleManager.GetStyleForClassificationType(String classificationType)&#x000D;&#x000A;   at Balakin.VSOutputEnhancer.UI.FormatDefinitions.StyledClassificationFormatDefinition..ctor(IStyleManager styleManager)&#x000D;&#x000A;   at Balakin.VSOutputEnhancer.UI.FormatDefinitions.BuildResultSucceededFormatDefinition..ctor(IStyleManager styleManager)&#x000D;&#x000A;   --- End of inner exception stack trace ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.&lt;&gt;c__DisplayClass15_0.&lt;GetExportedValueHelper&gt;b__0()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.&lt;&gt;c__DisplayClass15_0.&lt;GetExportedValueHelper&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Composition.DelegateServices.&lt;&gt;c__DisplayClass2_0`1.&lt;As&gt;b__0()&#x000D;&#x000A;   at System.Lazy`1.CreateValue()&#x000D;&#x000A;   at System.Lazy`1.LazyInitValue()&#x000D;&#x000A;   at System.Lazy`1.get_Value()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension](Object errorSource, Lazy`1 provider)</description>
  </entry>
```

abstractspoon avatar Mar 09 '24 03:03 abstractspoon