Closed Groostav closed 10 months ago
@Groostav dotnet test uses vstest console internally. However assembly resolution may be slightly different. Can you please share the logs by running with vstest.console --diag:log.txt
?
EDIT: adding some more notes on internals in case it helps diagnose the issue.
log.txt
file will explicitly show the traces of which paths are looked up and which dlls are candidates for loggers.C:\Users\geoff\Code\HelloStaticLib\JunitXml-TestLogger-3.0.124
is the extracted nupkg file. If so, try this path instead C:\Users\geoff\Code\HelloStaticLib\JunitXml-TestLogger-3.0.124\build\_common
PackageReference
in the csproj. Internally, it includes msbuild props which copy the dlls from build\_common
to the test project's Output directory. This makes it easier for dotnet test
to discover the logger dll.Closing due to inactivity.
Hey Guys,
I'm trying to get this working with
vstest.console.exe
and some VC++ MSTest tests. I believe this is a delegate chosen bydotnet test
.I've tried playing with
/TestAdapterPath
and/TestAdapterLoadingStrategy
, but I just cant seem to get your dotnet assembly's on the PATH sufficiently for this executable.The best I;ve been able to get is
to produce
Is
dotnet test
simply entirely different fromvstest.console.exe
and thus my usage simply isnt supported?