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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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:
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.
be used instead of the default ones from the installation folder.
That also works for the controller templates, you just have to make sure that the folder
tree matches.