Unable to run tests when referencing xUnit.Extensions Nuget package
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.
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 01 Mar, 2014 06:32 AM
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.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:37 AM.