You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Visual studio shows an error when I open the project for the first time.
This window
It always shows that error when opening a file with this code:
#if INF
...
#endif
/*...*/
The last text from ActivityLog.xml:
<entry>
<record>561</record>
<time>2020/06/29 13:37:37.786</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.NullReferenceException: Object reference not set to an instance of an object.
 at Microsoft.CodeAnalysis.CSharp.CSharpExtensions.Kind(SyntaxNode node)
 at ColorCoder.Extensions.CSharpExtensions.IsCSharpAttributeSyntaxKind(SyntaxNode node) in C:\Users\Hamid\source\VisualStudio-ColorCoder\ColorCoder\Extensions\CSharpExtensions.cs:line 21
 at ColorCoder.ColorCoderCore.ColorCoderTaggerServices.GetExpression(SyntaxNode node) in C:\Users\Hamid\source\VisualStudio-ColorCoder\ColorCoder\ColorCoderCore\ColorCoderTaggerServices.cs:line 42
 at ColorCoder.ColorCoderCore.ColorCoderTaggerServices.<GetClassificationTags>d__2.MoveNext() in C:\Users\Hamid\source\VisualStudio-ColorCoder\ColorCoder\ColorCoderCore\ColorCoderTaggerServices.cs:line 65
 at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__39.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
</entry>
Visual Studio 2017, Color Coder v1.1.0
The text was updated successfully, but these errors were encountered:
I've tried to reproduce the issue with the piece of code you've provided, but I didn't encountered any errors. Could you share a file or a project where this happens?
Hello. Visual studio shows an error when I open the project for the first time.
This window
It always shows that error when opening a file with this code:
The last text from ActivityLog.xml:
Visual Studio 2017, Color Coder v1.1.0
The text was updated successfully, but these errors were encountered: