I’m getting this error trying to build a project. It’s highlighting words in my feature pages and giving me this error.
Error 1 The name ‘GenerationTargetLanguage’ does not exist in the current context
I tried to Run Custom Tool on each feature but that made my errors go from two of the same, to three of these errors.
Found one other person with the problem in the google groups. No solution.
I had the same problem when i installed the newest version of specflow and tried to compile an example project because the example had a local copy of an older version of the specflow dll.
The new specflow – feature-file compiler generates sourcecode for a call to a non existing specflow-dll method signature.
I solved the problem by replacing the specflow-dll in the projects lib-directory with with the dll from my newer installation.