Install Nuget.Right click on the solution and select "Enable NuGet Package Restore".Click Ok on the warning.Close and re-open the solution. 转载于:https://www.cnblogs.com/idben/p/3731449.html