System.Web.Http missing after .net 4.5 upgrade

前端 未结 4 1890
暖寄归人
暖寄归人 2020-12-18 18:32

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

4条回答
  •  悲哀的现实
    2020-12-18 19:13

    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.

提交回复
热议问题