Could not load file or assembly 'nunit.framework, Version=2.5.7.10213

pie.or.paj's Avatar

pie.or.paj

09 Feb, 2015 09:02 PM

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

  1. Support Staff 1 Posted by Feodor Fitsner on 09 Feb, 2015 10:32 PM

    Feodor Fitsner's Avatar

    Is it like those nunit tests are being run by vstest.console runner?

    Make sure you have "CopyLocal=true" for all required dependencies.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.

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

 

26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM
20 Sep, 2024 05:50 PM