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

Incompatibility with .net core 3.0 #694

Closed
jonnybi opened this issue Oct 8, 2019 · 1 comment
Closed

Incompatibility with .net core 3.0 #694

jonnybi opened this issue Oct 8, 2019 · 1 comment

Comments

@jonnybi
Copy link

jonnybi commented Oct 8, 2019

Hosting EventFlow in a .net core 3.0 web application fails with this exception:

System.Reflection.ReflectionTypeLoadException: 'Unable to load one or more of the requested types.
Could not load type 'Microsoft.AspNetCore.Mvc.MvcJsonOptions' from assembly 'Microsoft.AspNetCore.Mvc.Formatters.Json, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.'

It seems EventFlow having the same problems NSwag had with .net core 3.0
and caused by a reference to EventFlow.DependencyInjection
Create a .net core 3 web api application and add a reference to EventFlow.DependencyInjection to reproduce.

Similar issues:

@ProH4Ck
Copy link
Contributor

ProH4Ck commented Oct 8, 2019

I'm working on it here: #686

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

No branches or pull requests

3 participants