Using dotnet.cli plugin test fail but pass when run from command line

My unit tests pass when run directly from the console:

    dotnet test mysolution.sln

But they fail when run through the dotnet.cli plugin.  I notice from the logs that it executes this command line: 

    dotnet.exe test Miruken.AspNet.sln @C:\TeamCity\BuildAgents\BuildAgent03\temp\agentTmp\2.rsp

I tracked the failure down to this line in the rsp file:


If I remove that line tests pass again.

I pulled down the code for the plugin, but having trouble finding where it actually sets ups up and runs the tests.

Some direction is greatly appreciated

Team City 2019.1.4


Please sign in to leave a comment.