Search code examples
c#specflow

Go To Definition (F12) not working when step definitions are used from a different assembly


Go To Definition (F12) is not working when step definitions are used from a different assembly. Is there a way to make it work?


Solution

  • This could be a bug or something like that in Specflow. I have the exact same problem. When trying to go to the Step Definition from the feature file, Visual Studio says there's no matching step binding. Although, when trying to run the test(s), they run like they should, so Specflow can indeed find (and use) the matching step definitions.