SafeMode方式运行VS很快,但打开我的Demo时报错(正常模式打开并不报错),我解决方案中其他旧的单元测试工程没问题,就最近新增的不行,包括之前在该问题中贴的Demo单元测试工程,郁闷,快折磨死我了。(受字数限制,无法贴全Log)
查看ActivityLog.xml日志有如下错误信息:
......
676
2017/11/28 02:48:54.777
Warning
VisualStudio
Load failure limit prevents package from attempting to load
{D5CE1488-DEDE-426D-9E5B-BFCCFBE33E53}
677
2017/11/28 02:48:54.795
Error
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost
A MEF Component threw an exception at runtime: Microsoft.VisualStudio.Composition.CompositionFailedException: 部分"GitHub.Services.VSGitServices"在初始化时引发了异常。
---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 GitHub.VisualStudio.GitHubProviderDispatcher.GetService[T]() 位置 C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:行号 63 在
GitHub.Services.VSGitServices..ctor(IGitHubServiceProvider serviceProvider) 位置 C:\projects\visualstudio\src\GitHub.TeamFoundation.14\Services\VSGitServices.cs:行号 45 --- 内部异常堆栈跟踪的结尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
678
2017/11/28 02:48:54.826
Error
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost
A MEF Component threw an exception at runtime: Microsoft.VisualStudio.Composition.CompositionFailedException: 部分"GitHub.Services.VSGitServices"在初始化时引发了异常。
---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 GitHub.VisualStudio.GitHubProviderDispatcher.GetService[T]() 位置 C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:行号 63 在
GitHub.Services.VSGitServices..ctor(IGitHubServiceProvider serviceProvider) 位置 C:\projects\visualstudio\src\GitHub.TeamFoundation.14\Services\VSGitServices.cs:行号 45 --- 内部异常堆栈跟踪的结尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() --- 引发异常的上一位置中堆栈跟踪的末尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
679
2017/11/28 02:48:54.844
Error
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost
A MEF Component threw an exception at runtime: Microsoft.VisualStudio.Composition.CompositionFailedException: 部分"GitHub.Services.VSGitServices"在初始化时引发了异常。
---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 GitHub.VisualStudio.GitHubProviderDispatcher.GetService[T]() 位置 C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:行号 63 在
GitHub.Services.VSGitServices..ctor(IGitHubServiceProvider serviceProvider) 位置 C:\projects\visualstudio\src\GitHub.TeamFoundation.14\Services\VSGitServices.cs:行号 45 --- 内部异常堆栈跟踪的结尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() --- 引发异常的上一位置中堆栈跟踪的末尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
680
2017/11/28 02:48:58.375
Error
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost
A MEF Component threw an exception at runtime: Microsoft.VisualStudio.Composition.CompositionFailedException: 部分"GitHub.Services.VSGitServices"在初始化时引发了异常。
---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 GitHub.VisualStudio.GitHubProviderDispatcher.GetService[T]() 位置 C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:行号 63 在
GitHub.Services.VSGitServices..ctor(IGitHubServiceProvider serviceProvider) 位置 C:\projects\visualstudio\src\GitHub.TeamFoundation.14\Services\VSGitServices.cs:行号 45 --- 内部异常堆栈跟踪的结尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() --- 引发异常的上一位置中堆栈跟踪的末尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
681
2017/11/28 02:48:58.415
Error
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost
A MEF Component threw an exception at runtime: Microsoft.VisualStudio.Composition.CompositionFailedException: 部分"GitHub.Services.VSGitServices"在初始化时引发了异常。
---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 GitHub.VisualStudio.GitHubProviderDispatcher.GetService[T]() 位置 C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:行号 63 在
GitHub.Services.VSGitServices..ctor(IGitHubServiceProvider serviceProvider) 位置 C:\projects\visualstudio\src\GitHub.TeamFoundation.14\Services\VSGitServices.cs:行号 45 --- 内部异常堆栈跟踪的结尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() --- 引发异常的上一位置中堆栈跟踪的末尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
682
2017/11/28 02:48:58.507
Error
Editor or Editor Extension
Microsoft.VisualStudio.Composition.CompositionFailedException: 部分"GitHub.Services.VSGitServices"在初始化时引发了异常。
---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 GitHub.VisualStudio.GitHubProviderDispatcher.GetService[T]() 位置 C:\projects\visualstudio\src\GitHub.VisualStudio\Services\GitHubServiceProvider.cs:行号 63 在
GitHub.Services.VSGitServices..ctor(IGitHubServiceProvider serviceProvider) 位置 C:\projects\visualstudio\src\GitHub.TeamFoundation.14\Services\VSGitServices.cs:行号 45 --- 内部异常堆栈跟踪的结尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() --- 引发异常的上一位置中堆栈跟踪的末尾
--- 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)
在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker
importingPartTracker, RuntimeImport import) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport
import) 在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create() 在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
在 Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 在 Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() ---
引发异常的上一位置中堆栈跟踪的末尾 --- 在
Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0() 在 Microsoft.VisualStudio.Composition.DelegateServices.<>c__DisplayClass2_0`1.<As>b__0()
在 System.Lazy`1.CreateValue() 在 System.Lazy`1.LazyInitValue() 在 System.Lazy`1.get_Value() 在 Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object
errorSource, Lazy`2 provider, Func`2 getter) --- 引发异常的上一位置中堆栈跟踪的末尾
--- 在 Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
683
2017/11/28 02:48:58.598
Information
VisualStudio
Entering function CVsPackageInfo::HrInstantiatePackage
{1A4EFADE-F6B2-4490-A2EF-21D5F3D1C8E0}
......