I\'ve just upgraded my solution to .net 4.5 using Target Framework Migrator, and then the package manager console command:
Update-Package -Reinstall -IgnoreDe
Just run the following nuget command:
Install-Package Microsoft.AspNet.WebApi.Core