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