this template attempted to load component assembly 'NuGet.VsiualStudio.interop,version=1.0.0.0 culture=neutral publickeytoken=0000000'. 解决方案

昨天在创建MVC项目的时候遇到这样一个问题  this template attempted to load component assembly 'NuGet.VsiualStudio.interop,version=1.0.0.0 culture=neutral publickeytoken=0000000'. For more information on this problem and how to enable this template please see documentation on customizing project templates 

提示 'NuGet.VsiualStudio.interop' 找不到加载的模板,一下提供解决方案:

1:打开vs 在tools—>Extensions and updates中选择 'NuGet Package Manager' 并且卸载掉,如果没有的话,则按照步骤2

2:在这个 http://nuget.org  网站中找到你所需要的模板,下载下来,然后安装上,重启vs 。 然后在重新创建MVC项目就ok了

总结:

  上面问题的出现是在安装vs的时候,少安装了这个叫NuGet.VsiualStudio.interop 的模板。所以无法创建。只要将这个模板插件安装上就可以了。

posted @ 2014-02-13 15:19  Mr.liub  阅读(279)  评论(0编辑  收藏  举报