0

引起例外,我最近添加一些擴展到Visual Studio 2015年社區從那以後,我遇到此錯誤消息,當我打開一個解決方案:加載溶液中的Visual Studio 2015年開始社區

enter image description here

我試着以管理員身份運行Visual Studio並禁用/卸載新的擴展,但沒有任何幫助或指出問題。

日誌顯示此錯誤消息:

<entry> 
    <record>652</record> 
    <time>2016/07/23 03:07:44.289</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> 
    </entry> 

在擴展管理器的打字稿擴展灰編出:

enter image description here

任何想法比重新安裝Visual Studio中的其他?

回答