开始已经在电脑上安装了VS2010以及SP1,还装了MVC4的相关升级包。最后项目中又要用MVC3,然后又去安装MVC3的安装包,但是在安装的过程就出现了问题。一直安装不成功,最后在网上找到了一个解决的办法,具体是先把AspNetMVC3ToolsUpdateSetup解压,然后按照以下的顺序安装
1: VS10-KB2483190-x86.exe 特别注意,该文件请右键单击选择管理员身份运行,否则会报权限错误
2: AspNetWebPages.msi
3: AspNetWebPagesVS2010Tools.msi
4: AspNetWebPagesVWD2010Tools.msi
5: AspNetMVC3.msi
6: AspNetMVC3VS2010Tools.msi
7: AspNetMVC3VWD2010Tools.msi
8: NuGet.msi
然后把AspNetMVC3ToolsUpdateSetup_CHS解压,按照如下的顺序进行安装:
1: aspnetwebpages_lp_chs.msi
2: aspnetwebpagesvs2010tools_lp_chs.msi
3: aspnetwebpagesvwd2010tools_lp_chs.msi
4: aspnetmvc3_lp_chs.msi
5: aspnetmvc3vs2010tools_lp_chs.msi
6: aspnetmvc3vwd2010tools_lp_chs.msi
参考:
http://www.cnblogs.com/runliuv/archive/2012/05/29/2524692.html