排错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在生成期间下载缺少的程序包

你可能感兴趣的:(disabled)