排错Package restore is disabled by default. To give consent, open the Visual Studio Options dialog

今天在下新版的NerdDinner(MVC3、MVC4)的源代码,在本地运行了,发现运行不了,提示报错信息是: 错误 23 Package restore is disabled by default. To give consent, open the Visual Studio Options dialog, click on Package Manager node and check 'Allow NuGet to download missing packages during build.' You can also give consent by setting the environment variable 'EnableNuGetPackageRestore' to 'true'. NerdDinner   根据意思大概可以判断是在vs里面设置Package Manger。 解决方法: VS2012--工具---选项----包管理器---允许NuGet在生成期间下载缺少的程序包
写个博客不容易,请转载的时候备注下原文出处,谢谢
作者:keepnode
博客地址:http://www.cnblogs.com/woaic
每件事到最后都是好事,如果不是好事,说明还没有到最后
=========================
原文地址:https://www.cnblogs.com/woaic/p/3942861.html