Asp.NET MVC 3 project templates not showing up

早过忘川 提交于 2019-11-30 05:32:48

问题


I installed the Async CTP w/o knowing it would cause problems with Asp.NET MVC 3. So I've followed every possible uninstall instruction out there re-installed both SP1 and MVC 3.

However, the MVC 3 templates does not show up in the new project dialogs. And I have ensured that target platform is .NET 4 in the dialog, so that is not the cause.

Any ideas on how to make the MVC 3 templates re-appear?


回答1:


Try this:

Clear out the template cache located at "[ProgramFile x86]\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache"

and then run devenv.exe /installvstemplates from the visual studio command line.




回答2:


If you are using Visual Studio 2010 SP1 then the solution might be here: http://tedgustaf.com/en/blog/2011/4/installing-asp-net-mvc3-on-visual-studio-2010-sp1/



来源:https://stackoverflow.com/questions/5496414/asp-net-mvc-3-project-templates-not-showing-up

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!