Generation error: Could not load file cor assembly 'Techtalk.SpecFlow, Version=1.0.0.0, Culture=neutral,...

Ask general questions here.
varsha07
Posts: 1
Joined: Tue Jun 25, 2019 6:18 am

Generation error: Could not load file cor assembly 'Techtalk.SpecFlow, Version=1.0.0.0, Culture=neutral,...

Post by varsha07 » Tue Jun 25, 2019 6:31 am

Hello Team,

Following the tutorial steps from URL: 'https://www.ranorex.com/blog/how-to-use ... d-process/', same was performed on my machine.

I have already integrated visual studio and ranorex.
I have taken the sdaddin file from specflow folder and placed on ranorex installation folder 'addins/misc'.
I was also able to create the specflow feature file from ranorex studio but on the .feature.cs file, a generation error was seen as below:

#error Generation error: Could not load file cor assembly 'Techtalk.SpecFlow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0778194805d6db41' or one of its dependencies. The system cannot find the file specified.

Can you please advise how to fix this?

Thanks,
Varsha

User avatar
qwertzu
Posts: 265
Joined: Wed Jan 25, 2017 11:08 am

Re: Generation error: Could not load file cor assembly 'Techtalk.SpecFlow, Version=1.0.0.0, Culture=neutral,...

Post by qwertzu » Thu Jun 27, 2019 1:00 pm

hi,

have you added the specflow package via the package management console as described under the link you mentioned?

add_package.png
add_package.png (9.75 KiB) Viewed 63 times
your error states that the specflow assembly is missing.

regards, qwertzu