Package SpecFlow.Plus.LivingDocPlugin will trigger error 'Could not load file or assembly 'TechTalk.SpecFlow, Version=2.2.0.0'

0

I have (VS2019, .net framework 4.7.2,specflow3.4.3, NUnit3) I have Nuget package SpecFlow.Plus.LivingDocPlugin, then the automation script works OK for my project in local machine. After I upload the package, package.config, csproj from P4V, I trigger the case in teamcity. However the case build success, but fail perform in teamcity agent. There shows error 'System.IO.FileLoadException : Could not load file or assembly 'TechTalk.SpecFlow, Version=2.2.0.0, Culture=neutral, PublicKeyToken=0778194805d6db41' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'

It works OK in my local machine. After I delete the SpecFlow.Plus.LivingDocPlugin package, and submit to teamcity agent, there shows same error. After I delete the specflow.nunit, nunit3, specflow.tools.msbuild.generation, and reinstalled in agent machine, there shows same error.

c#
nunit
visual-studio-2019
specflow
asked on Stack Overflow Sep 15, 2020 by yaoyao

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0