1
votes

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:

Unable to load one or more of the requested types. Could not load file or assembly 'System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.

Did anyone have same issues? Do you know which nuget package am I missing?

enter image description here

1
@TheGeneral I didn't have such issues on .net core 2.2. So this is something specific with .net core 3.0Algirdas

1 Answers

0
votes

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.