-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
System.MissingMethodException
after update to .NET 8 RC 2
#1239
Comments
I think the issue is coming from this line:
and the fact that the |
Hmm interesting. Wonder why our own tests haven't caught this. Can you provide an example of a test that causes this. Should be a pretty easy fix though, so we should be able to get a fix out soon. |
Even with the new introduction of the new base class, that shouldn't much interfere with the usage. As @egil mentioned, it would be really helpful to have a minimal reproducible example for us. |
here is the sample repo: https://github.com/msynk/bUnitNet8RC2 It seems this exception throws only for the components with parameters. |
Interesting - the same test passes when moved inside our test suite. |
@linkdotnet really interesting. |
Sorry - I meant I moved the test inside the bUnit code and let it run there. No issue at all. Even if I check out |
Is it a mstest thing? |
Thought so too and "migrated" the given example to xUnit with the same outcome - still failing tests with the given exception. |
With |
Doing a new preview release now that will build against RC2. Perhaps that fixes the issue. Guessing the package on nuget.org is build against rc1 and that is causing the failure. We cannot replicate when adding the tests and running against bunit sources. |
Ah fair - I also run rc.2 locally. |
Upgrading to |
Guessing it is because rc1 and rc2 are not binary compatible. |
Okay - @msynk can you confirm that it also works on your side? |
@linkdotnet Thanks a lot. the latest preview version (1.24.9-preview) is working fine for me 👏. |
Nice! |
after updating to .NET 8 RC 2 our tests fail with the following exception:
Stack trace:
The text was updated successfully, but these errors were encountered: