My Technical Notes

Thursday, 4 May 2017

SpecFlow "Go to definition" / "Go to binding" / F12 not working

At least for me, the advice from Rob Savage worked:

  1. Close Visual Studio.
  2. In Windows Explorer, go to `%TEMP%` (your temp folder).
  3. Delete files whose name starts with `specflow-stepmap-YourProjectName`.
  4. Restart Visual Studio.

SpecFlow will regenerate the bindings, which will take some time. Until this is done, if you right-click on a step and select "Go To Step Definition", Visual Studio will say "Step bindings are still being analyzed. Please wait."

No comments: