elishalom / netcodemetrics

Other
33 stars 13 forks source link

Problem loading the extension in VS2017 Enterprise Update 3 (version 15.3.2) #3

Open andez2000 opened 7 years ago

andez2000 commented 7 years ago

I get the Visual Studio messagebox saying an extension has caused an issue when loading my .net core 2 project. When I check the Activity Log I get the following:

<entry>
    <record>631</record>
    <time>2017/08/23 13:56:32.423</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.NullReferenceException: Object reference not set to an instance of an object.&#x000D;&#x000A;   at CodeMetrics.Adornments.MetricsAdornment.RepaintComplexity(ITextSnapshot textSnapshot)&#x000D;&#x000A;   at CodeMetrics.Adornments.MetricsAdornment.OnLayoutChanged(Object sender, TextViewLayoutChangedEventArgs e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
  </entry>

There are a number of errors. I've attached the full log file. This is pretty much a vanilla install with no other extensions downloaded and installed. Any thoughts on this?

elishalom commented 4 years ago

A possible fix to this issue is in version 0.9.1.1