-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assembies are loaded incorrecty #1361
Comments
@kemsky Sorry for responding late on this. We have several of the same issues. |
@OsirisTerje, I've provided sample repo, there you can find all version information. |
You're using both these together, they don't match. See information in docs.nunit.org, under the adapter. |
@kemsky I cloned your repo and cannot reproduce an error. Both I also do see the |
@manfred-brands, it seems that some lower level dependency has been upgraded since I originally posted this bug which was 1,5 months ago. I can no longer reproduce it using original sample, but full test suite still fails with the same kind of errors.
dotnet test --no-build works on the very same binaries. So problem is still there, but there is no way to reproduce it easily. @OsirisTerje, I removed |
@manfred-brands, original sample still fails when you use standalone runner:
|
@kemsky Not clear which standalone runner you are using. There are, unfortunately, two different runners which display the same header information. What package did you install? |
@kemsky I believe this issue is fixed by significant changes in how we locate dependencies in the latest dev build. Can you try to confirm that by using the latest from our MyGet feed? Meanwhile, I'll add your example solution to our test suite. |
I got many random issues trying to run tests using console runner, but finally I found a reason.
Basically, bin folder contains blank dll ("\bin\Debug\net7.0\Microsoft.Data.SqlClient.dll"), which should be resolved to a more specific dll in the runtime folder (something like "bin\Debug\net7.0\runtimes\win\lib\net6.0\Microsoft.Data.SqlClient.dll") but it does not happen.
See full discussion here: dotnet/SqlClient#2064, there is a detailed explanation.
There are many many other cases like this.
This is sample repo: https://github.com/kemsky/nunit-bug
The text was updated successfully, but these errors were encountered: