Could not load file or assembly 'nunit.framework, Version=2.5.7.10213
We have a problem getting our tests to work on AppVeyor.
Locally one can just run nuget restore via Visual Studio and the
run the tests but on AppVeyour we get the error Could not
load file or assembly 'nunit.framework,
Version=2.5.7.10213
We are using a newer version of nunit.framework
ourselves but NSpec
is using the
2.5.7.10213
.
During build it pickup the newer version instead but somehow this
doesn't happen when the tests actually run.
Unified primary reference "nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77".
Using this version instead of original version "2.5.7.10213" in "C:\projects\textilgallerian\TextilgallerianKuponger\packages\nspec.0.9.68\lib\NSpec.dll" because AutoUnify is 'true'.
A detailed log of a failing run can be found at https://ci.appveyor.com/project/Pajn/textilgallerian/build/1.0.17
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 09 Feb, 2015 10:32 PM
Is it like those nunit tests are being run by
vstest.console
runner?Make sure you have "CopyLocal=true" for all required dependencies.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.