Recently, I re-cloned the Repo but when I opened the project in Visual Studio, it could not find any of the Specflow bindings. What I found even stranger is that the tests ran perfectly. So how do you get your Specflow Bindings back?
- Close Visual Studio.
- Go to your temp folder and delete the Specflow cache file. In windows the easiest way to do this is to put %temp% into the address bar in Windows File Explorer.
- When the folder loads, simply delete the Specflow cache file. (It will start with “specflow” and end in “.cache”).
- Restart Visual Studio and compile your project.
- Your Specflow Step Bindings should now be available