如何修复错误 "TechTalk.SpecFlow.SpecFlowException: Unable to find plugin in the plugin search path: Blackbaud.UAT.SpecFlow.Selenium"?

How to fix error "TechTalk.SpecFlow.SpecFlowException: Unable to find plugin in the plugin search path: Blackbaud.UAT.SpecFlow.Selenium"?

在功能文件(默认生成)的 .cs 文件的规范流程中,出现此错误:

TechTalk.SpecFlow.SpecFlowException: Unable to find plugin in the plugin search path: Blackbaud.UAT.SpecFlow.Selenium

如何解决这个错误?

此问题的解决方案(根据 OPer 的说法,他将此作为评论发布在问题下方...):

Follow these steps, it will work:

  1. open Visual Studio

  2. Navigate to Tools>options.

  3. Click on spec flow

  4. In right side area, spec flow related information will appear.

  5. Set "Appdomain" as the option for Code generation mode section.

致谢:OPer ...