#Error Generation error: Unable to find plugin in the plugin search path: Baseclass.Contrib.SpecFlow.Selenium #Error Generation error: Unable to find plugin in the plugin search path: Baseclass.Contrib.SpecFlow.Selenium selenium selenium

#Error Generation error: Unable to find plugin in the plugin search path: Baseclass.Contrib.SpecFlow.Selenium


I encountered a similar error but with a different plugin and the steps outlined in Unable to find plugin in the plugin search path: SpecRun when saving / generating feature files resolved it for me:

1. Make sure the NuGet folders are properly restored.
2. Close Visual Studio.
3. Delete the bin\Debug folder from your project(s).
4. Reopen your solution in Visual Studio.


Make sure that in the given path the file "Baseclass.Contrib.SpecFlow.Selenium.NUnit.SpecFlowPlugin.dll" exists.

When are your *.feature.cs files generated? When you save the file or at build?If it is at saving, regenerate the code behind file.


The solution above didnt work for me. The issue was only resolved when I've tried the following:

  1. Go to VS->Tools->Options
  2. Go to SpecFlow
  3. Go to Test Execution
  4. Change Test Runner Tool to something else than SpecRun and Auto (NUnit, MS...)
  5. Build the project. This time it should work.
  6. Change the Test Runner Tool back to SpecRun
  7. Enjoy :)

Test Runner Tool option in Tools->Options