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.
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
\AddView\CSHTML\
Copy the .tt files
Create a matching folder tree in your project starting from CodeTemplates. In this case, you need to create \CodeTemplates\AddView\CSHTML\ and paste the .tt files there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With