Trying to modify MVC scaffolder templates

Jim 1 Reputation point
2020-04-07T00:02:06.773+00:00

I am rying to modify the List.cs.t4 template located
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\Extensions\Microsoft\Web\Mvc\Scaffolding\Templates\MvcView by placing in the "CodeTemplates\MvcView" folder wihin the project, but it is not being used.

Where does it need to be placed in order for it to be used when generating code using the "Add MVC View" action?

I am running VS 2019 (16.5.2)....

Thank You

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2020-04-07T00:30:10.433+00:00

    QnA currently supports the products listed in right-hand pane (more to be added) Better to reach out to subject matter experts in dedicated forums over here.

    https://forums.asp.net/1146.aspx/1?MVC

    (please don't forget to mark helpful replies as answer)

    0 comments No comments