Page 1 of 1

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

Posted: Tue Jun 25, 2019 6:31 am
by varsha07
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

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

Posted: Thu Jun 27, 2019 1:00 pm
by qwertzu
hi,

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

add_package.png
your error states that the specflow assembly is missing.

regards, qwertzu

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

Posted: Fri Feb 28, 2020 7:51 am
by ramanaramidi
Hi,

We don't have the package management console in View -> Tools in Ranorex 9.2.1

I have used Project -> Mange Packages option to install the required packages.

Please letme know if this is fine


Regards,
Ramana

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

Posted: Fri Feb 28, 2020 8:43 am
by odklizec
Hi,

There should definitely be Package Management Console under View >> Tools menu. Just check it again.
PackageManagementConsole.png
Anyway, all is OK after installing required packages via Project -> Manage Packages?