Skip to content
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

Upgrade to MediatR 10 #276

Closed
pablopioli opened this issue Jan 15, 2022 · 0 comments · Fixed by #280
Closed

Upgrade to MediatR 10 #276

pablopioli opened this issue Jan 15, 2022 · 0 comments · Fixed by #280

Comments

@pablopioli
Copy link

In version 10 MediatR extracted the base interfaces to a separate assembly.

https://www.nuget.org/packages/MediatR.Contracts/

If you upgrade an app that uses explicitly MediatR and blazor-state you get an error stating that the IRequest type cannot be found.

error CS7069: Reference to type 'IRequest' claims it is defined in 'MediatR', but it could not be found

The problem obviously lies in that the compiler tries to find the type in the main MediatR assembly and cannot found it.

Other libraries have found the same problem
jbogard/MediatR#692

An update of the Nuget version and a recompile should be enough to address this problem. Is anything that I can do to help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant