打开解决方案时Visual Studio 2015 Enterprise错误

时间:2016-12-07 01:33:23

标签: c# visual-studio

当我在VS 2015 Enterprise中打开解决方案时,我收到一个消息对话框,告诉我发生了错误,可能是由异常引起的,并检查activitylog.xml文件以获取更多信息。我检查了文件,它似乎是一个intellisense错误而不是插件。关于如何修复的任何想法?

 <entry>
<record>531</record>
<time>2016/12/07 01:18:33.934</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 Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.&lt;&gt;c__DisplayClass22_0.&lt;CreateIndicator&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensDataPointTemplateService.CreateIndicator(ICodeLensDescriptor descriptor, String dataPointProviderName, Func`1 viewModelReferenceFactory)&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.CreateIndicator(ICodeLensDescriptor descriptor, Lazy`2 provider)&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection.UpdateTemplateCollection()&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection.Connect()&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.IndicatorCollection..ctor(CodeLensIndicatorService indicatorService, ICodeLensDescriptor descriptor)&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensIndicatorService.CreateIndicatorCollection(ICodeLensDescriptor descriptor)&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensAdornmentViewModelProvider.CreateAdornmentViewModel(ICodeLensDescriptor descriptor)&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensAdornmentCache.GetOrCreateCacheEntry(ICodeLensTag tag)&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensAdornmentCache.GetOrCreateAdornment(ICodeLensTag tag)&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensInterLineAdornmentTaggerProvider.CodeLensInterLineAdornmentTagger.AdornmentHost.TryConnectAdornment()&#x000D;&#x000A;   at Microsoft.VisualStudio.Language.Intellisense.Implementation.CodeLensInterLineAdornmentTaggerProvider.CodeLensInterLineAdornmentTagger.&lt;&gt;c__DisplayClass41_0.&lt;CreateDelayedAdornments&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint[T](Object errorSource, Func`1 call, T valueOnThrow)</description>

0 个答案:

没有答案