vs2013新建MVC项目时提示系统找不到指定文件(异常来自HRESULT:0x80070002)
一.问题描述
1.打开vs2013,选择”文件|新建|项目”,弹出如下对话框。
![](https://images2015.cnblogs.com/blog/1116059/201706/1116059-20170623235317054-1708846244.jpg)
2.点击左侧的“Web”,选择“ASP.NET Web 应用程序”,点击确定
![](https://images2015.cnblogs.com/blog/1116059/201706/1116059-20170623235408648-1050381474.jpg)
3.按上面红色部分选择好后点击“确定”,结果弹出如下提示
![](https://images2015.cnblogs.com/blog/1116059/201706/1116059-20170623235550695-1079062821.jpg)
二.原因分析
没有安装NuGet
三.解决问题
1.打开vs2013,选择“工具|扩展和更新“
![](https://images2015.cnblogs.com/blog/1116059/201706/1116059-20170623235606491-1435018325.jpg)
2.选择“联机|Visual Studio
点击“NuGet Package Manager for Visual Studio 2013“ 的”下载“按钮
![](https://images2015.cnblogs.com/blog/1116059/201706/1116059-20170623235649366-762248451.jpg)
3.正在下载,下载后安装即可
![](https://images2015.cnblogs.com/blog/1116059/201706/1116059-20170623235647757-1347970362.jpg)
![](https://images2015.cnblogs.com/blog/1116059/201706/1116059-20170623235647835-1296596038.jpg)