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
As for VS2017 - as said in the asp.net forums Microsoft has moved the namespace to a Nuget package called Web Api Core. In order to install it you need to typeInstall-Package Microsoft.AspNet.WebApi.Core in the Nuget Package Manager Console.
Install-Package Microsoft.AspNet.WebApi.Core