'NuGet.VisualStudio.Interop 报错

本文介绍了解决在VS2010中创建MVC4项目时报错的问题,错误提示涉及尝试加载NuGet.VisualStudio.Interop组件失败。通过卸载并重新安装NuGet包管理器,可以成功创建项目。

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/archive/2012/12/18/2822910.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值