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?
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.
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/
精彩评论