'NuGet.VisualStudio.Interop 报错

Error: this template attempted to load component assembly 'NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=...'. For more information on this problem and how to enable this template, please see documentation on Customizing Project Templates.

我在新建MVC4项目时出现了这样的报错,我使用的是VS2010(SP1).

解决方法:

1. 打开VS2010-->Tools-->Extension Manager-->选择 'NuGet Package Manager' 并卸载掉.

2.打开 'http://nuget.org',下载新的nuget,并安装.

3.重新打开VS2010,创建MVC4项目,已经不再报错.

 ---------------------------------------------

参考自 http://www.itorian.com/2012/08/error-this-template-attempted-to-load.html

原文地址:https://www.cnblogs.com/dongdonggege/p/2822910.html