How do I edit default Razor Creat/Edit scaffolding in Visual Studio 2010
问题 is there a way I can hack out the fieldset and legend tags in the VS2010 MVC razor view templates? I've had a bit of a look through the C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE directory but I can't find what I'm looking for. 回答1: If it is specific to your project, what you can do is copy the default templates to your project and modify them. The MVC razor view templates are located in: <Visual Studio Installation Path>\Common7\IDE\ItemTemplates\CSharp\Web\MVC 3\CodeTemplates