I have an ASP.NET WebAPI 2 application on .net 4.7
I add a Microsoft.Azure.ServiceBus nuget which has dependencies on .NET Standart 2.0
When I run my app locally on IIS Express inside VS2017 everything works fine. When I deploy my app to Azure Web App I receive an error on any REST request
Method not found: 'System.Web.Http.Controllers.HttpRequestContext System.Net.Http.HttpRequestMessageExtensions.GetRequestContext(System.Net.Http.HttpRequestMessage)'
As far as I understand there is different version of System.Web.Http on Azure web app and on my dev machine.
Why this happens and what should I do to fix this?