Specflow has lost its bindings

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?

Solution:

  1. Close Visual Studio.
  2. 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.
  3. When the folder loads, simply delete the Specflow cache file. (It will start with “specflow” and end in “.cache”).
  4. Restart Visual Studio and compile your project.
  5. Your Specflow Step Bindings should now be available

 

Leave a Reply

Your email address will not be published. Required fields are marked *