#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.
The solution above didnt work for me. The issue was only resolved when I've tried the following:
- Go to VS->Tools->Options
- Go to SpecFlow
- Go to Test Execution
- Change Test Runner Tool to something else than SpecRun and Auto (NUnit, MS...)
- Build the project. This time it should work.
- Change the Test Runner Tool back to SpecRun
- Enjoy :)