If this can help someone else, I tried to follow the steps of Steffen Mangold, but this does not work completely.
If you have a build error, for example:
System.Web.Http, Version=5.0.0.0
after executing this Install-Package Microsoft.AspNet.WebApi.Cors command Install-Package Microsoft.AspNet.WebApi.Cors
Try the following:
1 - Run this in admin CMD
del %LOCALAPPDATA%\NuGet\Cache\*.nupkg /q
2 - Run this in the package manager console
Install-Package Microsoft.AspNet.WebApi
This will install the missing assemblies and fix the error.
source share