NUnit test with WinRT references not found or ran
This branch has two unit test libraries that are created, but only one is ran by the Unit Test runner.
The solution contains a second Windows 8 Store (WinRT) library and a .NET 4.5 library of unit tests (NUnit.framework.dll 2.6.4) that references the WinRT library. This uses the TargetPlatformVersion attribute.
Both are generated:
RabbitMQ.Client.Unit -> C:\projects\rabbitmq-dotnet-client\projects\client\Unit\build\bin\unit-tests.dll
.....
RabbitMQ.Client.Unit.WinRT -> C:\projects\rabbitmq-dotnet-client\projects\client\Unit.WinRT\build\bin\unit-tests.dll
But only one is ran:
Discovering tests...OK nunit-console.exe "C:\projects\rabbitmq-dotnet-client\projects\client\Unit\build\bin\unit-tests.dll" /exclude=RequireSMP
I tried setting the config to find the test assemblies by name:
"unit-tests.dll", but that didn't help. Can you take a look on why
the second unit-test.dll isn't being found and ran?
https://ci.appveyor.com/project/ngbrown/rabbitmq-dotnet-client/build/3.4.5.41
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 05 Mar, 2015 07:03 AM
Will take a look.
2 Posted by nathan on 06 Mar, 2015 07:44 AM
For now I am resolving it by using powershell to look for the files:
We don't need this looked into for now.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.