I've migrated my WebApi project from .net core 2.2 to .net core 3.0 version. I was following this article: https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio#mvc-service-registration
I was able to build project but I'm getting an exception at runtime:
Did anyone have same issues? Do you know which nuget package am I missing?
One of our internal nuget package was not migrated to support .net core 3. That cause runtime exception. We migrated nuget package and problem is fixed. The strange thing is that there was no compile warning.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.