2

我是stackoverflow的新用户,这是我的问题:

作为我工作的一部分,我们最近安装了 VS 2017 企业版。一切都很好,直到几周前Live Unit Testing模块停止工作。

有没有人能够解决这类问题?

这是输出控制台:

[17:26:23.170 Info] Live Unit Testing started. [17:26:23.229 Error] - FatalError - System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary'2.Insert(TKey key, TValue value, Boolean add) at Microsoft.CodeAnalysis.LiveUnitTesting.AugmentedProjectDependencyGraph.AddDependencies(ProjectGraphNode projectNode) at Microsoft.CodeAnalysis.LiveUnitTesting.AugmentedProjectDependencyGraph.EnsureDirectDependencies() at Microsoft.CodeAnalysis.LiveUnitTesting.AugmentedProjectDependencyGraph.GetBuildOrder(Solution solution, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.LiveUnitTesting.BuildManagement.BuildManagerState.<BuildAsync>d__35.MoveNext() [17:26:24.099 Info] Live Unit Testing stopped.

输出控制台图像

谢谢你的时间!

4

1 回答 1

0

您可以尝试按照https://docs.microsoft.com/ru-ru/visualstudio/test/live-unit-testing?view=vs-2017的建议删除保存的数据,它对我有用。 在此处输入图像描述

于 2020-09-18T12:22:02.943 回答