Reputation: 2821
I am getting below error when try to compile SpecFlow project in VS 2015.
error Generation error: Could not load file or assembly 'TechTalk.SpecFlow, Version=1.9.0.77, Culture=neutral, PublicKeyToken=0778194805d6db41' or one of its dependencies. The system cannot find the file specified.
Following are the references I added.
Upvotes: 4
Views: 4269
Reputation: 1322
Could be your temp extensions cache path files are corrupted or missing C:\Users\<user>\AppData\Local\Temp\VisualStudioTestExplorerExtensions\
Close visual studio and delete all content from C:\Users\<user>\AppData\Local\Temp\VisualStudioTestExplorerExtensions Open visual studio and try running the test.
Upvotes: 2
Reputation: 32936
This is most likely caused by one of the extensions still depending on specflow 1.9. You should be able to install that specific version to resolve your issues.
Upvotes: 2