Drag the files / folders from Windows Explorer into the Solution Explorer. It will add them all. Note this doesn't work if Visual Studio is in Administrator Mode, because Windows Explorer is a User Mode process.
This is originally from Sara's blog.
It also works with almost any version of Visual Studio, you just need to change the "8.0" in the registry key to the appropriate version number for your version of Visual Studio.
The guide line shows up in the Output window too. (Visual Studio 2010 corrects this, and the line only shows up in the code editor window.)
You can also have the guide in multiple columns by listing more than one number after the color specifier:
RGB(230,230,230), 4, 80
Puts a white line at column 4 and column 80. This should be the value of a string value Guides
in "Text Editor" key (see bellow).
Be sure to pick a line color that will be visisble on your background. This color won't show up on the default background color in VS. This is the value for a light grey: RGB(221, 221, 221).
Here are the registry keys that I know of:
Visual Studio 2010: HKCU\Software\Microsoft\VisualStudio\10.0\Text Editor
Visual Studio 2008: HKCU\Software\Microsoft\VisualStudio\9.0\Text Editor
Visual Studio 2005: HKCU\Software\Microsoft\VisualStudio\8.0\Text Editor
Visual Studio 2003: HKCU\Software\Microsoft\VisualStudio\7.1\Text Editor
For those running Visual Studio 2010, you may want to install the following extensions rather than changing the registry yourself:
These are also part of the Productivity Power Tools, which includes many other very useful extensions.
Best Answer
you and I are probably trying to do the same kind of thing.
So I will share whatever I have found while doing my own research.
Oleg Sych was kind enough to point me to the ASP.NET MVC dll Microsoft.VisualStudio.Web.Extensions.dll file that contains the MvcTextTemplateHost class.
Take a look at this DLL using the .NET Reflector tool.
As you will see, the DLL contains WinForm classes such as MvcAddControllerDialog, MvcAddViewDialog, and other classes.
So I am pretty sure you can dig around in there to figure out how they did it.
Another place to look is definitely the Visual Studio Extensibility Developer Center.
In the [Learning Center Resources] section, click on [Custom Wizards] link (msdn.microsoft.com/en-us/vsx/dd631327.aspx --- sorry I can include ONE Hyperlink per post at the moment).
So start from those two places. I will post some updates myself as well if I found out more.