1、开启visual studio的NuGet自动下载 2、确保此选项为选中状态 3、在解决方案上点右键,选择Enable NuGet Package Restore 转载于:https://www.cnblogs.com/fxwdl/archive/2013/05/13/3076578.html