Hello
i want add a _partial.t4 file in my code Template folder in MvcView
i add it in my View in mvcView folder
but when i create control add> new controll(with model )>
in view i don’t have "_partial "
See this blog post.
http://weblogs.asp.net/imranbaloch/customizing-the-asp-net-mvc-5-web-api-2-scaffolding-templates
Hi Aftabi,
Thanks for your post.
According to your description,you want to custom Scaffold Templates in visual studio.please check this:
#Creating a Custom Scaffolder for Visual Studio
Hope this can be helpful.
Best Regards,
Eileen
Eileen ni – MSFT
Hi Aftabi,
Thanks for your post.
According to your description,you want to custom Scaffold Templates in visual studio.please check this:
#Creating a Custom Scaffolder for Visual Studio
Hope this can be helpful.
Best Regards,
Eileen
thnaks , i want , when i click on "MVC 5 controller with views and entity " create = "_DateList.cshtml,Create.cshtml,Delete.cshtml,Details.cshtml,Edit….,Index…..,"
i added "_DateList.tt" in code template but in result i don’t have "_DateList.cshtml" and create another carefully ,
how can create that list
i know about new scafoolder in mvc , but when click in "mvc 5 controller with views , using entity Frame work" create "index" and "Create" and "Edit" and "delete" view . but i want add another view file with them, when they are creating ,not after that
, i know that after create normal view files i can add my views