Test output source within the Output tool window displays
Microsoft.VisualStudio.TestPlatform.ObjectModel.TestPlatformException: Could not find testhost
and the list of tests in the Test Explorer tool window froze and do not refresh on any changes (build/rebuild), deleting .vs folder.
In my case, the issue was caused by applying a version wildcard in central package version management in
Packages.propswhich caused the version not to be resolved (
17.6.*appeared inDependencies\Packages\Microsoft.NET.Test.Sdk (17.6.*)of a project)so changing to
fixed the issue