Crashing Visual Studio Live Unit Testing

那年仲夏 提交于 2021-02-10 08:08:31

问题


I´m a new user in stackoverflow and this is my problem:

As part of my work, we recently installed VS 2017 Enterprise Edition. Everything was fine untill few weeks ago the Live Unit Testing module stop working.

Does enyone was able to resolve this kind of problems?

This is the output console:

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

Output Console Image

Thanks for yor time!


回答1:


You can try deleting the saved data as recommended at https://docs.microsoft.com/ru-ru/visualstudio/test/live-unit-testing?view=vs-2017, it worked for me.



来源:https://stackoverflow.com/questions/51391235/crashing-visual-studio-live-unit-testing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!