Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again

I am having an issue with the latest Visual Studio 2017 15.8.2. For the life of me I can't seem to be able to run my build test. I don;t know what the ussue is, my code is fine it. I tried:

Deleting temp files

Reinstalling VS

Insalled NUnitTestAdapter (Still didn't help!)

I'm doing a C# coding course and I can't even continue my lessons becasuse of this!

Someone Please helpe me if you have had this problem and know of the solution buecause I am really gtting frustrated.

Thanks!

John

like image 928
John Patrick Avatar asked Oct 29 '25 17:10

John Patrick


2 Answers

Disable the following setting in VS (Tools -> Options -> Test): "For improved performance, only use test adapters in test assembly folder or as specified in runsettings file".

like image 170
user160357 Avatar answered Oct 31 '25 07:10

user160357


I had this problem when my solution was being saved to a OneDrive location.

You can try this solution as given:

Recreating the solution directly on my C:\ drive, the tests then worked.

like image 25
Tony Sheppard Avatar answered Oct 31 '25 08:10

Tony Sheppard