Unable to run tests when referencing xUnit.Extensions Nuget package

Nathan Chere's Avatar

Nathan Chere

01 Mar, 2014 05:58 AM

There appears to be an issue with projects with test projects that reference the xUnit.Extensions Nuget package.

The build fails with this message:

xunit.console "C:\projects\relstexturepackernet\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll" /appveyor
xUnit.net console test runner (64-bit .NET 4.0.30319.18449)
error: Could not find file: C:\projects\relstexturepackernet\packages\xunit.extensions.1.9.2\lib\net20\xunit.dll

xunit.dll should never be under:
%root%\packages\xunit.extensions.1.9.2\lib\net20 it should be under:
%root%\packages\xunit.1.9.2\lib\net20

When I remove the Nuget reference to xunit.Extensions it runs the tests fine.

  1. Support Staff 1 Posted by Feodor Fitsner on 01 Mar, 2014 06:32 AM

    Feodor Fitsner's Avatar

    Right, AppVeyor is discovering test assemblies by looking into their references.

    On Tests tab of project settings you can try specifying assemblies that should be only tested.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:37 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

 

01 Oct, 2024 04:27 PM
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