views:

32

answers:

1

I've seen this combination (CTRL+M CTRL+V) used to create Views for ASP .Net MVC with Visual Studio, but it doesn't work on my computer. So I was wondering where does it come from and how to make it work?

Solution: Apparently MVC was not registered within Visual Studio, so I had to reinstall it. The shortcut is added by MVC.

A: 

You have to be inside of a controller action method (as in - cursor has to be placed in a method) for the shortcut to work.

Marek Karbarz
Yep, still doesn't work.
HeavyWave
what version of VS and MVC?
Marek Karbarz
VS 2008 SP1. Is there an extension for MVC? I don't think I have it installed.
HeavyWave
Marek Karbarz
I've just reinstalled MVC 1 and there is not even an MVC project type in Visual Studio.
HeavyWave