加载解决方案导致 Visual Studio 2015 社区开始时出现异常

Loading a solution causes exception at start of Visual Studio 2015 Community

我最近向 Visual Studio 2015 社区添加了一些扩展,从那时起我在加载解决方案时遇到此错误消息:

我尝试 运行 Visual Studio 作为管理员和 disabled/uninstalled 新扩展,但没有任何帮助或指示问题。

日志显示此错误消息:

  <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>

在扩展管理器中,typescript 扩展是灰色的:

除了重新安装之外还有什么想法吗Visual Studio?

Visual Studio 的版本太旧/不兼容。

升级到最新版本 Visual Studio Update 3 解决了问题。