I was cleaning up an inherited test automation project and fixed some spelling errors in scenario names in a SpecFlow feature file, then started receiving this error:
CS1029
#error Generation error: Interface cannot be resolved: TechTalk.SpecFlow.Generator.UnitTestProvider.IUnitTestGeneratorProvider('custom')
There is no customer unit test provider.
Things I have tried:
- Closing VS, killed all the SpecFlow temp files, restarting VS
- Killed the *.feature file and recreating it.
- Rolled back to a previous version of SpecFlow
- Commented out all scenario tags
- Followed the steps in this article: https://github.com/techtalk/SpecFlow/wiki/Troubleshooting-Visual-Studio-Integration
Now, all my feature files are showing that error, not just the one I fixed spelling errors in. I'm using VS2015. Any ideas what could cause this error?