Trying to modify MVC scaffolder templates

Jim 1 Reputation point

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.
23,777 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 329.1K Reputation points Microsoft MVP

    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.

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

    No comments