Today in one of the computer i installed visual studio 2010 professional edition, and successfully installed. But in my new project template "Asp.net MVC 2 website" is missing. Also I'm not able to open an already created MVC 2 project also. I'm also having MVC 2 installed with VS 2008 Sp1 in the same machine and is working fine. I uninstalled and installed again, the same is happening. Please help me out of this..
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Have you tried downloading MVC 2 RTM separately following the Visual Studio 2010 install? Download here
Alternatively, did you have any of the betas or previews of MVC2 installed prior to installing Visual Studio 2010? You'll need to uninstall these.
回答2:
When installing or modifying the installation of Visual Studio 2010 ensure you have 'Visual Web Developer' ticked. (see image below). If you just install C# you will not get MVC 2.
回答3:
Are you creating a new website or project? I just did a fresh install of Professional and MVC 2 is only available under projects.