文件后面的 Specflow 功能代码未正确生成

Specflow feature code behind file is not generated properly

当我创建一个新的功能文件时,文件隐藏代码中出现以下错误

Could not find CodeBehindGenerator binary at location 
C:\USERS\XXXX\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO.0_A8FC0FAD\EXTENSIONS[=10=]XCK4AN4.WWW\TechTalk.SpecFlow.VisualStudio.CodeBehindGenerator.exe.

Please open an issue at https://github.com/techtalk/SpecFlow/issues/

我用过以下包

<package id="SpecFlow" version="2.4.0" targetFramework="net461" />
<package id="SpecFlow.CustomPlugin" version="2.4.0" targetFramework="net461" />
<package id="SpecFlow.MsTest" version="2.4.0" targetFramework="net461" />

注意:昨天一直在工作,突然上面提到的错误在代码隐藏文件中抛出。

我试过升级最新的specflow版本(3.0.188)。但是,仍然存在上述问题。

这是我们昨天更新的 VS 扩展中的一个错误。

参见:https://github.com/techtalk/SpecFlow/issues/1456

新版本将在接下来的几个小时内发布。


下次,请在 GitHub 上打开一个问题,而不是 Stack Overflow 问题。谢谢!